æ is
00E6
in Unicode
Capital æ is Æ
Æ is
00C6
in Unicode
2007/4/13, bill lam <[EMAIL PROTECTED]>:
I agree with your observation, but when I tried the workaround, it failed
on my
computer,
shell ucp 'copy "',fn,'" "',fn2
c:\j601test\temp\?txt
The system cannot find the file specified.
0 file(s) copied.
I believe my window codepage (chinese) does not have this æ character. I
wish
that the task script can be upgraded to use wchar api to solve the problem
for
all code pages.
Dan Bron wrote:
> I don't know if any of my wonton speculation was right, but I can
reproduce the problem on my system, and applying ucp to the literal passed
to shell_jtask_ fixes it:
>
> 'iceland' fwrite fn =. jpath '~temp\','.txt',~195 166 { a.
> 7
>
> fread fn
> iceland
>
> require'task'
>
> shell 'copy "',fn,'" "',fn2=.jpath'~temp\ae.txt'
> The system cannot find the file specified.
>
> fread fn2 NB. Failure
> _1
>
> shell ucp 'copy "',fn,'" "',fn2
> 1 file(s) copied.
>
> fread fn2 NB. Success.
> iceland
>
>
> Hope this helps,
>
> -Dan
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
regards,
bill
----------------------------------------------------------------------
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