GENTIT Francois-Xavier DAPNIA <GENTIT@dapnia.cea.fr> writes:
> Dear Rooters,
> Consider the following CINT code:
>
> root [0] .lang EUR
> root [1] TString s="René";
> root [2] cout << s.Data() << endl;
> RenÚ
>
> Is it a bug in CINT ?
> I use ROOT 3.03/04 on Windows NT
>
Hi,
my comments are for Linux/Unix I don't know what holds for Windows. I
have tested just few chars of iso-8859-1 and iso-8859-2 but it looks
like
1) one can save the lines above in a macro and execute it in a Root
session
2) One can enter non-ascii chars within an interactive cint session put
it into a string and print it
To enter accented chars within Root I tried a small modification to
Getline.c so that locales environment of the parent shell is taken
into account and accented chars are not misinterpreted as control
characters. It seems to work but needs more testing.
cheers
Jiri
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:51 MET