Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with method GetStyleString() #10630

Closed
neophammdc opened this issue Aug 24, 2024 · 2 comments · Fixed by #10652
Closed

Bug with method GetStyleString() #10630

neophammdc opened this issue Aug 24, 2024 · 2 comments · Fixed by #10652
Assignees

Comments

@neophammdc
Copy link

neophammdc commented Aug 24, 2024

What is the bug?

Bug with method GetStyleString()

Steps to reproduce the issue

I use GDAL 3.9.2 with JAVA to read DGN v7 data, but get error when calling org.gdal.ogr.Feature.GetStyleString() function due to CHARSET WINDOW-1252 encoding.
I think maybe need to add function like org.gdal.ogr.Feature.GetStyleAsBinary()
Is this possible? Thanks a lot

Versions and provenance

Build on Ubuntu 22.04 with GDAL 3.9.2

Additional context

Java Android

@rouault
Copy link
Member

rouault commented Aug 25, 2024

@neophammdc Please attach such DGN file (in a .zip)

@neophammdc
Copy link
Author

neophammdc commented Aug 26, 2024

Hi @rouault, please attach DGN v7 sample file.

Note: I got the above error when reading with Android Java environment

DGN_v7_Sample.zip

@rouault rouault self-assigned this Aug 26, 2024
rouault added a commit to rouault/gdal that referenced this issue Aug 26, 2024
rouault added a commit to rouault/gdal that referenced this issue Aug 26, 2024
rouault added a commit to rouault/gdal that referenced this issue Aug 26, 2024
@rouault rouault closed this as completed in 17b7081 Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants