[Israel.pm] UTF-8
Yona Shlomo
yona at cs.technion.ac.il
Thu May 3 14:53:49 EEST 2007
On Thu, 3 May 2007, Pinkhas Nisanov wrote:
> I need to convert some text to UTF-8,
> problem is that in text I have some characters
> encoded in ISO-8859-1 and some in UTF-8.
> When I run "encode_utf8" function it
> convert ISO characters to UTF, but it also
> convert UTF characters to something unreadable.
> Is there some way to convert iso->utf and
> leave utf without change?
If you mark clearly the boundaries of the alternating
encoding, this can be easily done. You will need to write
the code, though, I am not familiar with open source code
that does this.
--
Shlomo Yona
yona at cs.technion.ac.il
http://yeda.cs.technion.ac.il/~yona/
More information about the Perl
mailing list