Upper/Lowercase on Unicode-Data
3 posts
• Page 1 of 1
Upper/Lowercase on Unicode-Data
Morten recently posted an article with that subject in the Dyalogusers-Group.
Unfortunately FF3.5 only displays garbage for me when I read that article, despite configuring it to display APL (as described in APL Wiki). I also tried to paste that garbage into the Dyalog Session, as sometimes this clears up things - but this time "Garbage in, Garbage out" applied :(
Would someone pls. be so kind to have a look at that article and paste it here?
Unfortunately FF3.5 only displays garbage for me when I read that article, despite configuring it to display APL (as described in APL Wiki). I also tried to paste that garbage into the Dyalog Session, as sometimes this clears up things - but this time "Garbage in, Garbage out" applied :(
Would someone pls. be so kind to have a look at that article and paste it here?
-
MBaas - Posts: 156
- Joined: Thu Oct 16, 2008 1:17 am
- Location: Gründau / Germany
Re: Upper/Lowercase on Unicode-Data
Someone asked me how to do this today, and I thought it would be worth posting the solution here:
- Code: Select all
ToLower←{⎕USING←'' ⋄ (⍴⍵)⍴(⎕NEW System.String (⊂,⍵)).ToLower ⍬}
text (ToLower text)
ABCDEFGÆØÅ abcdefgæøå
ΑΒΓΔΕΖΗΘΙΚ αβγδεζηθικ
АБВГДЕЖЗИЙ абвгдежзий
ԱԲԳԴԵԶԷԸԹԺ աբգդեզէըթժ
Requires the Microsoft.Net framework to be present, of course.
Morten
- harsman
- Posts: 27
- Joined: Thu Nov 26, 2009 12:21 pm
Re: Upper/Lowercase on Unicode-Data
Ah, now that looks much nicer :)
Thanks very much!
Michael
Thanks very much!
Michael
-
MBaas - Posts: 156
- Joined: Thu Oct 16, 2008 1:17 am
- Location: Gründau / Germany
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group