The love can't run on when fold name has UNICODE words

General discussion about LÖVE, Lua, game development, puns, and unicorns.
poorenglish
Prole
Posts: 47
Joined: Thu Sep 24, 2009 1:49 pm

The love can't run on when fold name has UNICODE words

Post by poorenglish »

Hi
The *.love,or game.exe(create by love) are also can't run when the fold contain the UNICODE words,such Chinese words,Japanese words.
stderr.txt

Game (D:\Program Files\复件 LOVE\Test1) does not exist.

the words which you can't recongise are chinese words.
as I know,the lua support the UNICODE words.
An extra question,is there some video control functions?
I think I can't find any function about the love.video.

Plz forgive my poor English,I hope you can understand what I say.
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: The love can't run on when fold name has UNICODE words

Post by nevon »

Yeah. It's a known bug from what I've heard. Hopefully it'll be fixed by the 0.6 release, although I don't know for sure if it will.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: The love can't run on when fold name has UNICODE words

Post by Robin »

It's a problem in the virtual filesystem (PhysFS) -- that bug was fixed in version 2.0 of it, I believe. I'm not sure whether LÖVE 0.6.0 will include. Any developer around who has the answer?
Help us help you: attach a .love.
User avatar
bmelts
Party member
Posts: 380
Joined: Fri Jan 30, 2009 3:16 am
Location: Wiscönsin
Contact:

Re: The love can't run on when fold name has UNICODE words

Post by bmelts »

I can attest to Unicode paths working properly under LÖVE 0.6.0 on Mac OS X.

(Then again, they also work properly under LÖVE 0.5.0 on Mac OS X, so I don't know...)
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: The love can't run on when fold name has UNICODE words

Post by nevon »

They work fine in Linux as well.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: The love can't run on when fold name has UNICODE words

Post by bartbes »

I think the actual builds will all use PhysFS 2.0, at least the windows build will, and it appears the others didn't even have the 'bug'.
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: The love can't run on when fold name has UNICODE words

Post by rude »

I've actually discovered that it's not (only) because of PhysicsFS. It's a Visual Studio project setting. I'm not sure how much work is required to fix it. I don't think just switching on Unicode in the project file will do the trick. :monocle:

But yeah, it must clearly be fixed ASAP.
User avatar
Jasoco
Inner party member
Posts: 3727
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: The love can't run on when fold name has UNICODE words

Post by Jasoco »

I can use unicode paths in LÖVE on OS X, (As all my .love files are in a folder entitled "LÖVE" and work with no problems.) but if I use a "game name" with a unicode character in it it refuses to run.
User avatar
Sardtok
Party member
Posts: 108
Joined: Thu Feb 21, 2008 2:37 pm
Location: Norway/Norge/諾威/挪威 (Yes, I'm teh back!)
Contact:

Re: The love can't run on when fold name has UNICODE words

Post by Sardtok »

Try renaming the LÖVE folder: "愛" and see if it works.
Thing is ö is an ISO-8859-1 character, although ISO-8859-1 shouldn't be used for folder names on systems using Unicode. *shrug*
Take off every Zigg for great rapist.
Now, outgay that!
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: The love can't run on when fold name has UNICODE words

Post by rude »

The problem was SDL not properly supporting Unicode in Windows (I was in denial about this for a while). An epic workaround is included in 748b5b952576, which seems to work. Some testing would be appreciated, especially on Win XP.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 14 guests