perl-i18n

RE: UTF-8 support on Windows and Linux

2002-04-29 00:35:48
care to send a (minimal)
script to duplicate this?

print length('mono');   #prints 5 on Linux, 4 on Win2000 (third character is
n with a tilde)
print length('mono');   #prints 4 (Linux and Win)


 Do you have 'use utf8;' in your script? After adding this I have not any
problems on Linux (SuSE Linux 7.3).


use utf8; print length('mono');  #does work: prints 4 on Linux

Thanks for that suggestion!

Anyway, anyone know why is use utf8 unnecessary on W2000 but has to be used
on Linux?


Gregor Chrupala
Servicio tecnico
STAR Servicios Linguisticos SL
C. Llacuna 162
08018 Barcelona
T. 93 401 98 42
F. 93 401 98 43
mailto:gregor(_dot_)chrupala(_at_)star-group(_dot_)net
http://www.star-group.net <http://www.star-group.net/>
http://www.star-transit.com

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
La empresa STAR ofrece a todos los interesados el programa
"Transit Satellite PE", una version gratuita del sistema profesional
de traduccion asistida "Transit", ademas del curso asistido por ordenador.
!Entre en la pagina de STAR Language Technology y no deje pasar esta
ocasion!
                          http://www.star-transit.com
<http://www.star-transit.com/>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!



<Prev in Thread] Current Thread [Next in Thread>