RE: UTF-8 support on Windows and Linux

[email protected] ("Gregor Chrupala") Mon, 29 Apr 2002 09:37:42 +0200
Newsgroups perl.i18n
Message-ID <[email protected]>
>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:[email protected]
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/>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!