Ok, thx werner for the work on this topic and your corresponding comments.
I will have a deeper look into it the next days. regards, Gerald On 9/27/06, Werner Punz <[EMAIL PROTECTED]> wrote:
Ok I looked deeper into the problem and it seems that dojo itself is quite intelligent in the way it handles the encoding issue: I tried with two encodings utf-8 and ISO-8859-1 bind picks up the correct encoding and sends german umlauts correctly down the server, the server than can pick up the data from the given page encoding and parses them correctly. Also on a pure io bind the dojo init param bindEncoding alters the encoding on the fly and you get garbage (or not how you see it) I dont think the dojo transport layer is at fault here. Gerald, I now have to push the ball towards you for a problem in the component code itself. Just a minor sidenote, i can recommend if you push data down to use some kind of neutral encoding to escape such issues (i do in my components anyway) escape is a good way at least for european languages to handle the encoding without too many language encoding issues. also I cannot recommend to use iso-xxxx as page encodings, I had too many issues with that (beginning from two different isos one with euro symbol one without, having issues in ie with euro symbols in encodings which should not have them on certain browsers while others do not have them etc...) utf-8 is fine for most cases, and I heartly can recommend to use that as default if possible. Werner Punz schrieb: > Alin Dosoniu schrieb: >> Hi, >> >> No there is nothing with %20 in strings. I log the string in a file and >> there is ?. :(. I don't know how to do to see exactly the string >> representation :(. Maybe if I look with a hexeditor. >> > Btw. i forgot to mention the '?' seems to be an indication for a > character encoding problem not a javascript encoding problem. > That narrows the problem down to some degree, thanks for your help > and patience. > >
-- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

