![]() |
|
|
#3 |
|
Архивный участник
Join Date: Oct 2005
Posts: 102
|
PPL, do not convert from Unicode to ANSI before file processing. Just use this:
... open($FHIN,"<:raw:encoding(utf16le)",$ai_in_dir."/".$ai_fname); open($FHOUT,">:raw:encoding(utf16le)",$ai_out_dir. "/".$ai_fname); ... This is full working part of my perl-scripts. If u want to create a LA2-unicode file, plz write first: #open... printf $FHOUT chr(0xFEFF); #write... #close... |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|