On Wed, 2003-10-29 at 22:36, Subhobroto Sinha wrote:
> Hello all
> 
> I wrote this in order to learn and discuss a few
> things about Unicode.
> 
> This mail is mainly meant for Sayamindu (as both
> Indrada and Arijitda recommended this topic to be
> discussed with him as developing Ankur has made him an
> Unicode guru!), but anybody who can help is welcome
> to.

khaiche...
don't embarrass me before public.
 ok??

> 
> I just wanted to know the development and usage part
> of Unicode and howto convert from Unicode to ASCII
> etc, internal representation (unsigned short int ?)...
> Leave out the GNU Library functions offered by Libc
> 
> Currently I am writing stuff like this to convert
> Unicode to ASCII:
> 
> 'while(*szASCIIStringDest++=**sUnicodeStringDest++);'
> 
> where 'szASCIIStringDest' is a 'char*' and
> 'sUnicodeStringDest' is a 'wchar_t*'

ore baba - can you use some spaces to make your code a little bit
readable?? 
;-)

from your query, most probably, you are looking for iconv().
..anyway, do a man iconv to find out how to do it the "proper way"
(http://www.die.net/doc/linux/man/man3/iconv.3.html)

(err... hopefully I am correct here - if not, do not hesitate to give
gaali - i am self taught, and may have misconceptions)

> 
> This seems to work but I know THAT's NOT the way....
> ;)
> 
> I would ALSO like to know how Bengali(or for that
> matter Hindi?) is represented in Unicode.

hmm - difficult thing - could you be a more specific??
the code chart for bengali is available at 
http://www.unicode.org/charts/PDF/U0980.pdf

..however, I would also recommend that you skim through the Unicode
standard book (http://www.unicode.org/versions/Unicode4.0.0/)


> 
> PLEASE do NOT refer me to the Unicode site
> (www.unicode.org). The info there is WAY TOO much for
> my neurons to handle ;)

ahh - ok - but if possible, please do read up

1. http://www.cl.cam.ac.uk/~mgk25/unicode.html 
2. http://www.debian.org/doc/manuals/intro-i18n/index.en.html
3. http://www-106.ibm.com/developerworks/java/library/utfencodingforms/

(the second one is written by a Japanese, so the English is a little
"strange" at some places, but otherwise, it is quite good for a
programmers angle)
There is also an interesting article on joelonsoftware.com, but I guess
you already know that.

..anyway, hopefully these will help..

-have a nice day-
sdg

PS: no need to cc me -  i read the ilug-cal mails.



--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/node.php?id=3

Reply via email to