ibanix has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks,
I've got a simple question. I have a file in Unicode that I want to read for input. Before knowing it was Unicode, I tried to read it in, but when I printed it back, I get spaces between each letter:
L i k e t h i s s e n t a n c e .
I looked at perlunicode but my head is swimming with locacles, encodings, and character sets. Can anyone help?
Thanks!
ibanix
I've got a simple question. I have a file in Unicode that I want to read for input. Before knowing it was Unicode, I tried to read it in, but when I printed it back, I get spaces between each letter:
L i k e t h i s s e n t a n c e .
I looked at perlunicode but my head is swimming with locacles, encodings, and character sets. Can anyone help?
Thanks!
ibanix
$ echo '$0 & $0 &' > foo; chmod a+x foo; foo;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to read a Unicode file?
by Zaxo (Archbishop) on Jan 23, 2004 at 23:14 UTC | |
by ibanix (Hermit) on Jan 24, 2004 at 00:05 UTC | |
Re: How to read a Unicode file?
by Aragorn (Curate) on Jan 23, 2004 at 23:20 UTC | |
for more detail ...
by g00n (Hermit) on Jan 25, 2004 at 03:54 UTC |
Back to
Seekers of Perl Wisdom