Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Cyrilic characters not working in save game names  (Read 2961 times)

0 Members and 1 Guest are viewing this topic.

Kumilanka

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
    • View Profile
Cyrilic characters not working in save game names
« on: May 02, 2011, 02:15:18 PM »

Hello,

ran into an interesting problem doing Russian localization. Savegame allows user to input the name using WME textbox element. When I input cyrilic characters using windows on-screen keyboard, the encoding is messed up somehow. The font used will display cyrilic strings from a localized string.tab no problem, it only bugs when directly entering text.

here is a screencap I made that illustrates the problem:
http://i.imgur.com/0UpN9.png

If there is a solution, I would be thrilled! :)
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Cyrilic characters not working in save game names
« Reply #1 on: May 02, 2011, 04:57:18 PM »

The editor control converts the text to native codepage, even if the game is running in UTF-8 mode (not ideal, historical reasons). The result is, that the cyrilics will only display properly if the regional settings in Windows are switched to Russian.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Re: Cyrilic characters not working in save game names
« Reply #2 on: May 05, 2011, 12:00:01 PM »

Kumilanka, for the very same reasons I rather switched savegame names to datetime of the save + thumbnail. Russian windows with english regional settings as reported by testers from Russia.
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet
 

Page created in 0.044 seconds with 19 queries.