Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: Chicanery Needed to Handle Unicode Text on Microsoft Windows

by Anonymous Monk
on Sep 26, 2012 at 18:44 UTC ( #995852=note: print w/replies, xml ) Need Help??


in reply to Re^2: Chicanery Needed to Handle Unicode Text on Microsoft Windows
in thread Chicanery Needed to Handle Unicode Text on Microsoft Windows

open it in Notepad, and save it as 'ANSI' instead of 'Unicode' before my script will work right.

You probably shouldn't do that :) save as UTF-8 instead

iconv -f UTF-16 -t UTF-8 < in > out

piconv -f UTF-16LE -t UTF-8 < in > out

  • Comment on Re^3: Chicanery Needed to Handle Unicode Text on Microsoft Windows

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995852]
help
Chatterbox?
[Discipulus]: 65-35 joint venture marto? ;=)
[choroba]: Fibonacci at 34!
[marto]: Discipulus, what did you have in mind?
[marto]: sort of related, have you seen sonic pi
[Discipulus]: choroba less than perl -le ' $==1,(1 x $_)=~/(^)(1|11\1 )*(?{$=++})^/, print $= for 0..10'?? congrats
[Discipulus]: marto i had in mind something for stupid peoples with smart phones; a free app (this is the the non perl part..) and some hardware to sell in big cities

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2017-10-17 10:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (225 votes). Check out past polls.

    Notices?