Retrive Data to remote Database with wwwForm, is ok, but the special char?

Hi,

I’m sorry for my english.

I need to read data from a mySQL remote database and use the following code:

everything works correctly only because special characters such è, à, ò, ù, ², ·, ³ etc are not read correctly and are replaced with the character � in itemsDataString

the file.php sends the data correctly with the right special characters

you can help me?

thank you

Where are you seeing the ? character? Have you tried setting a breakpoint in the Visual Studio debugger and seeing what the value is there?

This comes down to encoding used and specified.
If your server provides charset used, WWW tries to use that (if it supports it). If encoding is not specified or not supported, WWW falls back to UTF-8.
Try doing the same request in web browser and examine the raw content, check what encoding browser uses to display it etc.

I suspect you would want to send the appropriate request content type header.