XP is just a number | |
PerlMonks |
Encode PRM files in UCS-2 Little Endianby Akku (Novice) |
on Jul 23, 2013 at 04:29 UTC ( [id://1045771]=perlquestion: print w/replies, xml ) | Need Help?? |
Akku has asked for the wisdom of the Perl Monks concerning the following question:
I have mentioned the code below, it is encoded in UCS-2 Little endian. First I am reading prm file containing this code and genrates the file with little bit addition of data. On generation of new file other language word is lost
I/p file data Var: Common, TextID: gas_lhs_tid_272, "牵引力控制" */ Var: Common, TextID: gas_lhs_tid_273, "已设置为" */ Var: Common, TextID: gas_lhs_tid_272, "АПС" */ Required O/p Var: Common, TextID: gas_lhs_tid_272, "牵引力控制" */ Var: Common, TextID: gas_lhs_tid_273, "已设置为" */ Var: Common, TextID: gas_lhs_tid_272, "АПС" */ Added data line 1 Added data line 2 I am getting Var: Common, TextID: gas_lhs_tid_272, "" */ Var: Common, TextID: gas_lhs_tid_273, "" */ Var: Common, TextID: gas_lhs_tid_272, "" */ Added data line 1 Added data line 2 I tried to add some japanese word, but on update it has turned into some garbage value. Please use some japanese word in place of garbage value
Back to
Seekers of Perl Wisdom
|
|