international character string works as string argument but not inparser
Benjamin Lindner
lindnerben at gmx.net
Tue Dec 30 13:19:25 CST 2008
> Thanks for the rapid reply. Here are some examples:
>
>
> ----------------------------------------------------------------------
> octave:1>data_index.('Québec') = 1
> data_index =
> {
> Québec = 1
> }
> octave:2>fieldnames(data_index)
> ans =
>
> {
> [1,1] = Québec
> }
> ----------------------------------------------------------------------
>
> So the accented character is preserved. Everything seems to work. It only gives trouble when
> going through the commandline directly.
>
Hmm, I have encountered the same problem with german umlauts. It is not
possible to enter them via the command line, but when read from a .m
file they are perfectly acceptable.
A wild guess, is it a problem of the readline library?
benjamin
More information about the Bug-octave
mailing list