Ajax opened this issue on May 06, 2008 · 4 posts
Ajax posted Tue, 06 May 2008 at 5:49 AM
I've run into a problem when a user uses my VB.NET program to read Japanese files. When they get written out again, the Japanese parts don't go out the way they came in. Does anybody know what character set is used in Japanese Poser files? Is it the same one used in other localisations of Poser? (i.e. can I tell my program to use one particular encoding for Poser files of any language or do I need to somehow figure out which encoding each file loaded actually uses?)
View Ajax's Gallery - View
Ajax's Freestuff - View
Ajax's Store -
Send Ajax a message
markschum posted Tue, 06 May 2008 at 9:12 AM
I am thinking double byte character sets for Japanese
From MSDN : The functions IsDBCSLeadByte, AnsiPrev, and AnsiNext should be used to access characters within a string.
Ajax posted Tue, 06 May 2008 at 9:23 AM
Thanks. I think the problem seems to have been mostly that I was reading things in in one format (probably ASCII) and writing them out in another (maybe utf-8). This didn't seem to be a problem until the Japanese characters showed up that the encodings weren't the same. I think I've got it fixed now, but I still need my Japanese user to try it out and see what happens on his system.
View Ajax's Gallery - View
Ajax's Freestuff - View
Ajax's Store -
Send Ajax a message
Dizzi posted Tue, 06 May 2008 at 12:41 PM
IIRC Stewer somewhere stated that Poser 7 uses utf-8.