alketii / violetland

Automatically exported from code.google.com/p/violetland
0 stars 0 forks source link

The program can't be started if the path to the executable contains cyrillic symbols. #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
(because it can't load resources) 

Original issue reported on code.google.com by 5253...@gmail.com on 24 Oct 2009 at 3:16

GoogleCodeExporter commented 9 years ago
Note: windows only bug.

Original comment by 5253...@gmail.com on 24 Oct 2009 at 3:42

GoogleCodeExporter commented 9 years ago

Original comment by 5253...@gmail.com on 20 Nov 2009 at 10:24

GoogleCodeExporter commented 9 years ago
I remembered another project having a similar problem, so I looked up its 
repository
http://www.ohloh.net/p/love/commits?query=unicode&commit=Update

The following is the diff that enabled UTF8/Unicode support for Windows paths:
http://love.hg.sourceforge.net/hgweb/love/love/diff/748b5b952576/src/love.cpp
Here's what the author of the commit told me about it: Windows uses fixed 16-bit
encoding, AFAIK. PhysicsFS needs UTF-8 encoded paths, so I used the built-in 
Windows
functions to convert between those two.

I googled part of the function name they added there and got this link:
http://lists.zerezo.com/mingw-users/msg07690.html

I hope this is of any help.

Original comment by qubodup on 17 Jan 2010 at 12:14

GoogleCodeExporter commented 9 years ago

Original comment by 5253...@gmail.com on 28 Jan 2010 at 6:41

GoogleCodeExporter commented 9 years ago

Original comment by 5253...@gmail.com on 11 Apr 2011 at 6:01