I would guess that in the file the text is still not Unicode
Try doing a. i. W1 and you will see the difference in the numbers even if
the display may be different do the same with W2
2006/10/11, Ronan Reilly <[EMAIL PROTECTED]>:
I'm trying to display some German text using plot (J601). The text has
been
read in from a file using fread, decoded using ". , and stored in a table.
When I extract a word with an umlaut from the table (e.g., Aktualität),
assign it to W1, and plot it using
pd 'reset;text 0 _1x ',W1,';show'
the letter with an umlaut does not display correctly.
However, if I evaluate W1 in the jwd, like so:
W1
Aktualität
and then edit and evaluate it like so
W2 =: Aktualität
and then display W2 using
pd 'reset;text 0 _1x ',W2,';show'
W2 displays correctly.
Also
$W1
10
$W2
11
What is going on here? How can I display the unicode characters using
plot?
Thanks for any help.
Ronan
--
Professor Ronan Reilly
Head of Department
Department of Computer Science
NUI Maynooth
Maynooth
Co. Kildare
IRELAND
t: +353-1-7083847
e: [EMAIL PROTECTED]
w: http://www.cs.nuim.ie; http://cortex.cs.nuim.ie
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
Björn Helgason, Verkfræðingur
Fugl&Fiskur ehf, Þerneyjarsund 23, Box 127
801 Grímsnes ,t-póst: [EMAIL PROTECTED]
Skype: gosiminn, gsm: +3546985532
Landslags og skrúðgarðagerð, gröfuþjónusta
http://groups.google.com/group/J-Programming
Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
góður kennari getur stigið á tær án þess að glansinn fari af skónum
/|_ .-----------------------------------.
,' .\ / | Með léttri lund verður |
,--' _,' | Dagurinn í dag |
/ / | Enn betri en gærdagurinn |
( -. | `-----------------------------------'
| ) | (\_ _/)
(`-. '--.) (='.'=)
`. )----' (")_(")
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm