Re: [racket] Unicode character name

2013-05-17 Thread Danny Yoo
Given that, here is an example implementation of code that defines a function to map between the codes and their names: https://gist.github.com/dyoo/5586470 This implementation may be trying to be a little too clever: it does the work of parsing the UnicodeData.txt file at

Re: [racket] Unicode character name

2013-05-16 Thread John Clements
On May 15, 2013, at 12:18 PM, Danny Yoo wrote: It should not be difficult to do this by hand, by taking the contents of the Unicode database: http://www.unicode.org/Public/UNIDATA/UnicodeData.txt to help define the function that takes unicode characters and returns the descriptive

[racket] Unicode character name

2013-05-15 Thread Manfred Lotz
Having a unicode character is there a function to retrieve the character's name? Example: U+0907 gives DEVANAGARI LETTER I -- Manfred Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Unicode character name

2013-05-15 Thread Danny Yoo
It should not be difficult to do this by hand, by taking the contents of the Unicode database: http://www.unicode.org/Public/UNIDATA/UnicodeData.txt to help define the function that takes unicode characters and returns the descriptive name. It appears to be a semicolon-separated list of

Re: [racket] Unicode character name

2013-05-15 Thread Manfred Lotz
On Wed, 15 May 2013 13:18:32 -0600 Danny Yoo d...@hashcollision.org wrote: It should not be difficult to do this by hand, by taking the contents of the Unicode database: http://www.unicode.org/Public/UNIDATA/UnicodeData.txt to help define the function that takes unicode characters and