- Home /
How to encode german umlaute when laoding local stored data via WWW class?
When loading a local stored file under Windows using the WWW errors occours when the path name contains german umlaute.
Example:
Loading from path "file:///C:\Dokumente und Einstellungen\user\test.jpg"
works fine while loading "file:///C:\Dokumente und Einstellungen\\test.jpg"
returns the Unity Error-Questionmark texture.
Using WWW.EscapeURL will convert the path string to "file%3a%2f%2f%2fC%3a%2fDokumente+und+Einstellungen%2f%c3%a4%c3%b6%c3%bc%2ftest.jpg"
but will lead to the same questionmark texture result.
Your answer
Follow this Question
Related Questions
WWW.EscapeURL Not Work Well? 2 Answers
Is it possible to load a script from a url? 1 Answer
My apk not working properly in runtime 0 Answers
WWW object has doesnt return the full string 2 Answers
Load texture on disabled GameObject 1 Answer