Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Asian Characters and Resource Files

This topic is 6105 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am trying to add a chinese translated .rc to an existing resource file, but I am having a few problems - specifically, the translated .rc won''t open in visual studio. It seems to be something to do with the unicode characters playing havoc with the resource editor. The main problem seems to be that some characters have ascii representations which includes quotation marks ("), which causes the parser to go nuts when they appear in the middle of a string. Anyone know of any solution to this? Is there some way I can tell the resource editor in MSVC to work properly with unicode characters?

Share this post

Link to post
Share on other sites
Sorry, I''m not an expert in this area. However, I believe you MAY need to have a localized version of the OS and tools (in this case, Chinese) in order to actually see and edit the data.

If the data is in multibyte format, then your English-oriented version certainly cannot read it. Multibyte uses 1, 2, or 3 bytes to describe each character. Special characters are used in the first byte of a multi-byte character (think of it as a shift character). Single byte tools get confused, because they interpret multibyte characters as not a single character, but as 2 or 3 separate characters.

What I''m not sure of is whether the .rc is has UNICODE. I doubt it, unless there is some marker in the data that says where the UNICODE data starts and ends.

Maybe check out MSFTs website in the area of internationalization. There may be more information there.

Sorry I couldn''t be of more help. Maybe someone with some hands-on experience in this area can answer.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!