This object is in archive! 

Please do not use unicode to encode Chinese when exporting files.

liaoliao shared this problem 5 years ago
Closed

Please do not use unicode to encode Chinese when exporting files.

A lot of software does not recognize this code,

please use gb2312 to encode Chinese,

its compatibility is good, many software can identify this code of chinese

Best Answer
photo

Good day liaoliao,

as I see on Wikipedia, this encoding is useful for Chinese Simplified, right? Oki, I'll change export encoding for GPX/KML files.

Please check next published version and let me know if there will be any problem with this change. Thank you.

Replies (2)

photo
2

Good day liaoliao,

as I see on Wikipedia, this encoding is useful for Chinese Simplified, right? Oki, I'll change export encoding for GPX/KML files.

Please check next published version and let me know if there will be any problem with this change. Thank you.

photo
1

I will continue to pay attention to the next version,and Feedback test results。 thank you

photo
1

I update locus to ver 3.30.4, and test it。You may have misunderstood me。

only change encoding="UTF-8" to encoding="GB2312"

my meaning is that,for example

do not use:

encoding="UTF-8"

<name>测 ;试 ;</name>

use:

encoding="UTF-8"

<name>测试</name>

I mean that when using text tool to open the kml/gpx file ,

it can show chinese , do not shows &#x…… thus,its compatibility is better.

photo
1

In latest version, in GPX/KML header is set 'encoding="GB2312"' and all texts are wrote in GB2312 encoding.


And you want from me to keep old header value 'encoding="UTF-8"' and just write all texts in GB2312?

photo
1

Maybe my expression was not accurate enough;

the header value 'encoding="UTF-8"' is right.

all chinese texts encode in utf-8 also, intead of unicode.

in simple way,you may refer the kml/gpx of locus v3.21.0 , that chinese text encoding is right。

e.g.914c5a298743418a34e9e14a9292a22c

photo
1

Good day liaoliao,

I have to say that for me, this is some overcomplicated task. I'm reverting export to UTF-8 system. Because Unicode is globally used standard how to display characters, I consider task as closed. Locus will continue to export names & descriptions in Unicode no matter what language is currently used. Thanks for understanding.

photo
1

all right,:~(

but change encoding="gb2312" to encoding="UTF-8" in the next version, the older is right.

Replies have been locked on this page!