XML parsing problem in 2-byte char code system

Passenger

Chieftain
Joined
Sep 1, 2007
Messages
4
there is a annoying problem for 2-byte char code user.
In 2-byte char code system(like Chinese, Japanese, Korean windows system), serveral codes(in range from 127 to 255 by code value - extention ascii area -) are used to display 2byte character.
so if some annoying string is next to some letter, it would be identified 1 character instead 2.

there is one solution to avoid XML parsing error, but this is inconvience for them.

they must change non-unicode support setting(& reboot) to play "recently patched version of Civ4"(included BTS). and after game, but they *must* reboot PC to change char setting again for serveral issues(i.e. exploring non-unicode encoded web pages).

In civ4's XML files for game setting, there are 2 notations for annoying strings.
1. direct use that STRING like <Spanish>Labná</Spanish>
2. a form using code value like <Spanish>Labn&#160[semicolon]</Spanish>
* workaround <Spanish>Labná </Spanish>

notation 1 will be occur XML parsing error in 2 byte char code system.
I suggest notation 2, it will not be occur any problem in XML parsing stage in 2 byte char code user.
this is quite good solution to avoid XML parsing error for CJK windows system(and others, too).
 
Back
Top Bottom