• Welcome to SC4 Devotion Forum Archives.
 

News:

The SC4 Devotion Forums are no longer active, but remain online in an archived, read-only "museum" state.  It is not possible for regular members to post or use the private messaging system, and no technical support will be provided for any issues pertaining to the forums in their current state.  Attachments (those that still work) are accessible without login.

The LEX has been replaced with SC4Evermore (SC4E), and SC4E maintains an active Discord server.  For traditional forums, we recommend Simtropolis.

Main Menu

Language file(Current.lang) and Error

Started by MAS71, April 23, 2010, 01:05:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MAS71

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.
QuoteTraceback (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.
QuoteTraceback (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