Hey guys, I'm aware my problem is likely not GWT related but hopefuly you
can point me in the right direction. All X-requests I'm making work fine
(French application with plenty of accents), except for the euro (€)
character.
Here are some facts :
- I'm getting "?" or other unknown chars at the server side if I try to
send €
- GWT 2.4/2.5RC1 + PHP 5 on IIS7
- I think I got everything UTF-8 shaped :
- eclipse output, host page charset, POST php page (using Notepad++
and converting to UTF8-without BOM), utf8 meta in the PHP page, my
database
fields (even though my tests fail even if I dont insert the data into a
file and just log them somewhere or str_cmp('€') them)
- I'm using RequestBuilder and sending my data with somthing like this :
- builder.setHeader("Content-Type",
"application/x-www-form-urlencoded")
-
builder.sendRequest(URL.encodeQueryString(jsonRequest.toString()),callback)
where jsonRequest is my JSONObject that contains all the server needs for
the request processing
- server side I urldecode and utf8_decode (not sure if the last one is
usefull)
There I think its all the essential I can think of. I think I'm messing
with some big fact that I'm not aware of, I admit that I dont know enough
about encoding and headers.
Many thanks for any clue (even if you slap me in a constructive maner !)
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/291vPME-3rcJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.