On Wed, 18 Feb 2009, Alfonso Salazar wrote:
> Friends:
>
> Why are not accented vowels in "a." of J602a as to whether they are in "a."
> of J504b?
Accents such as áàâãå are inside a. It is just they cannot be
displayed in J session or wd controls. eg. untested
(<'somefile') 1!:2~ 128}.a.
J ijs script expects tutf8 encoding that is something you can not
overrule, but J core text primitives know nothing about encoding
whether ascii or utf8 so that your previous programming codes still
work. You could convert utf8 to ascii yourself, eg.
untested
a1=: 1&u:@(7&u:)&.> 'áàâãå' ; 'aaaaa'
(<'somefile') 1!:2~ , (": a1) ,"1 toHOST LF
open the file with a text editor (not J) to see what was written.
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩187 杜甫 登樓
花近高樓傷客心 萬方多難此登臨 錦江春色來天地 玉壘浮雲變古今
北極朝庭終不改 西山寇盜莫相侵 可憐後主還祠廟 日暮聊為梁父吟
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm