Menu

LEX File Exchange EA Support Files
SC4 Wikipedia Network Addon Mod
Dependencies Chat

Author Topic: Language file(Current.lang) and Error  (Read 1415 times)

0 Members and 1 Guest are viewing this topic.

Offline MAS71

  • BSC Team
  • Forums Senator
  • *
  • Posts: 621
  • Reputation: 18
    • wiki - WORLD's BAT & LOT & MOD for JPN
  • CL: - SC4D's Mazinger-Z ()mazinger()
Language file(Current.lang) and Error
« on: April 23, 2010, 03:05:25 AM »
Hello Wouanagaine and All  :)

I tying to make Language-file(Current.lang) with Japanese now.
We(JPN) using an encoding "Shift_jis" , "EUC-JP" and "UTF-8" usually.
I'd try to language-file with "UTF-8" and it was succeeded in Beta version of PIM-X.  :thumbsup: (Ver.62a and ver.RC2)
(I think you remember that sent PM with this file to you. ;) )

However,
On latest version of PIM-X can not work with same encoding.  &mmm

This is message of error when after displayed a SPLASH-image....and stop program.
Quote
Traceback (most recent call last):
  File "SC4PIMApp.pyo", line 3367, in OnClose
  File "SC4PIMApp.pyo", line 3370, in ShowMain
  File "SC4PIMApp.pyo", line 2797, in __init__
  File "SC4PIMApp.pyo", line 3080, in PreLoadDatas
  File "SC4PIMApp.pyo", line 2623, in __init__
  File "wx\_controls.pyo", line 1136, in __init__
UnicodeDecodeError: 'cp932' codec can't decode bytes in position 4-5: illegal multibyte sequence


and next step, I tryed it with an encoding with "Shift_jis", it could worked a right. :thumbsup:
but when "Right-click of Mouse" to display a menu-window, error message again and stop a program.
Quote
Traceback (most recent call last):
  File "SC4PIMApp.pyo", line 1193, in OnRightClick
UnicodeDecodeError: 'ascii' codec can't decode byte 0x82 in position 3:
ordinal not in range(128)

B.t.w
I'd try it with encoding "EUC-JP", all text changed starange japanese in PIM-X.  :P


Please give me some advice if it possible to soleved to easy. :)

Thank you for reading. ;)
-Mas'71