UnityWebRequest - downloadhandler.text contains <?> characters

When I download a csv file with UnityWebRequest and get the data as a string - all the characters beyond teh first 128 ascii set or so (ö etc.) seem to be broken (can see in debugger).
What would cause this?

Can you post the contents of your debug? There is no way for us to interpret your meaning of broken.

Also, a snip of the function your using will also be helpful. As it may be a problem with your request.

I meant to say the characters come out as a question mark symbol or in a diamond like <?>
Anyway it seems certain Windows ASCII formats (default open office csv) end up not converting properly to a string using UnityWebRequest when downloaded from our server as characters beyond the basic 128 are not read correctly.
Solution was to use UTF-8

1 Like