in reply to ASCII to UTF-8
sub latin1_to_utf8 { return( pack( 'U*', unpack("C*", @_[0] ) ) ); } sub utf8_to_latin1 { return( pack("C*", unpack("U*",@_[0]) ) ); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: ASCII to UTF-8 (with sub ascii_to_utf8 & utf8_to_ascii )
by IlyaM (Parson) on Jul 26, 2002 at 23:27 UTC | |
|
Re: Re: ASCII (latin1) to UTF-8 (with sub latin1_to_utf8 & utf8_to_latin1)
by shenme (Priest) on Jul 24, 2003 at 23:41 UTC |