Chinese display is garbled in OSG3.4 and osgEarth2.7 #2396
-
Beta Was this translation helpful? Give feedback.
Answered by
XianranZ
Dec 8, 2023
Replies: 1 comment 1 reply
-
I could be completely wrong, but I thought UTF8 encoded feature attributes were enabled by this line in Registry.cpp: CPLSetConfigOption("GDAL_FILENAME_IS_UTF8","YES"); That is protected by an |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks very much! Your answer is very helpful for me.
But it seems that it works before adding the below sentence.
CPLSetConfigOption("SHAPE_ENCODING","CP936");
After adding this, recompile the osgEarth and it works.