Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Unicode characters in ruby
dare ruby
6/18/2008 11:16:00 AM
Dear all,
Iam in process of parsing xml. I has stored the xml in a stringio buffer
and reading the xml character by character. I need to know how to deal
with unicode characters here.
1) If unicode characters were present in xml how can i read the all
65636 unicode characters.
2) I have parsed xml declaration part and found the encoding
<?xml encoding="UTF-8" ?>
so now in above case after parsing my encoding value would be UTF-8.
How to deal with utf-8, utf-16, etc and other encoding types while
parsing xml.
please suggest me a way to proceed.
thanks in advance.
Regards,
Jose
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Unicode characters in ruby
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password