 |
|
Home:
Perl Programming Help:
Beginner:
Re: [orange] convert utf8 -> iso-8859-2:
Edit Log
|
|

7stud
Enthusiast
Jan 16, 2013, 4:09 PM
Views: 482
|
|
Re: [orange] convert utf8 -> iso-8859-2
|
|
|
iso-8859-2 is a one byte encoding, i.e. all the characters can be represented by numbers in the range 0-255. What number does iso-8859-2 use to represent "small letter i with diaeresis(umlaut)" (that is what I am seeing in your string)? Also, what is the output when you run this:
my $string = 'helloļ'; printf "%*vX", " ", $string; print "\n";
(This post was edited by 7stud on Jan 16, 2013, 4:16 PM)
|
|
|
Edit Log:
|
|
Post edited by 7stud
(Enthusiast) on Jan 16, 2013, 4:09 PM
|
|
Post edited by 7stud
(Enthusiast) on Jan 16, 2013, 4:13 PM
|
|
Post edited by 7stud
(Enthusiast) on Jan 16, 2013, 4:14 PM
|
|
Post edited by 7stud
(Enthusiast) on Jan 16, 2013, 4:16 PM
|
|
|  |