upenderg
asked on
encoding problems
Hi I am very confusing with these encoding systems. UTF-8 and iso-8859-1. Some of the characters are ok with one of the encoding systems but not all and vice versa.
For example this statement is OK with UTF-8 and UTF-16 encoding system not withthe iso-8859-1 :
"hola mujeres quién anda ahi"
The following is OK with is0-8859-1 but not with UTF-8 and as well UTF-16
"¤H*OL*Ƥ Peluchotes como estan espero q super preciosas me encantaria conocer amigas caleñitas"
The following is the exception which I am getting on, i dont know how far the can helps you.. But it alwasy says like this "illegal utf8 encoding at 0xf1". I coudn't get this 0xf1, what exactly does this and what does this means ??
exception [stream:155: illegal utf8 encoding at 0xf1
dk.realtime.duckling.frame work.JSPSe rviceServl etExceptio n: stream:155: illegal utf8 encoding at 0xf1
at dk.realtime.duckling.frame work.JSPRe sponse.sho w(JSPRespo nse.java:5 91)
at dk.realtime.service.chatda te.chat.on e2many.ser vices.Chat JSPService Servlet.do Service(Ch atJSPServi ceServlet. java:87)
at dk.realtime.duckling.frame work.JSPSe rviceServl et.service (JSPServic eServlet.j ava:154)
at javax.servlet.http.HttpSer vlet.servi ce(HttpSer vlet.java: 103)
at com.caucho.server.http.Fil terChainSe rvlet.doFi lter(Filte rChainServ let.java:9 6)
at dk.realtime.duckling.backe nd.wapbill ing.web.Su bscribeFil ter.forwar dToContent (Subscribe Filter.jav a:120)
at dk.realtime.duckling.backe nd.wapbill ing.web.Su bscribeFil ter.doFilt er(Subscri beFilter.j ava:96)
at com.caucho.server.http.Fil terChainFi lter.doFil ter(Filter ChainFilte r.java:88)
at com.caucho.server.http.Inv ocation.se rvice(Invo cation.jav a:315)
at com.caucho.server.http.Cac heInvocati on.service (CacheInvo cation.jav a:135)
at com.caucho.server.http.Run nerRequest .handleReq uest(Runne rRequest.j ava:346)
at com.caucho.server.http.Run nerRequest .handleCon nection(Ru nnerReques t.java:274 )
at com.caucho.server.TcpConne ction.run( TcpConnect ion.java:1 39)
at java.lang.Thread.run(Threa d.java:534 )
Caused by: dk.realtime.duckling.frame work.JSPSe rviceServl etExceptio n: stream:155: illegal utf8 encoding at 0xf1
at dk.realtime.duckling.frame work.JSPRe sponse.sho w(JSPRespo nse.java:5 81)
... 13 more
Caused by: java.io.CharConversionExce ption: stream:155: illegal utf8 encoding at 0xf1
at com.caucho.xml.readers.Utf 8Reader.er ror(Utf8Re ader.java: 175)
Thanks a lot for your help.
Upender Gilakathula
For example this statement is OK with UTF-8 and UTF-16 encoding system not withthe iso-8859-1 :
"hola mujeres quién anda ahi"
The following is OK with is0-8859-1 but not with UTF-8 and as well UTF-16
"¤H*OL*Ƥ Peluchotes como estan espero q super preciosas me encantaria conocer amigas caleñitas"
The following is the exception which I am getting on, i dont know how far the can helps you.. But it alwasy says like this "illegal utf8 encoding at 0xf1". I coudn't get this 0xf1, what exactly does this and what does this means ??
exception [stream:155: illegal utf8 encoding at 0xf1
dk.realtime.duckling.frame
at dk.realtime.duckling.frame
at dk.realtime.service.chatda
at dk.realtime.duckling.frame
at javax.servlet.http.HttpSer
at com.caucho.server.http.Fil
at dk.realtime.duckling.backe
at dk.realtime.duckling.backe
at com.caucho.server.http.Fil
at com.caucho.server.http.Inv
at com.caucho.server.http.Cac
at com.caucho.server.http.Run
at com.caucho.server.http.Run
at com.caucho.server.TcpConne
at java.lang.Thread.run(Threa
Caused by: dk.realtime.duckling.frame
at dk.realtime.duckling.frame
... 13 more
Caused by: java.io.CharConversionExce
at com.caucho.xml.readers.Utf
Thanks a lot for your help.
Upender Gilakathula
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thank you, I'm pleased the link added value to your pursuit; although I truly didn't expect any points for the contribution. Best wishes, ":0) Asta