FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[fixed] Bug: error on opening files with accent
Goto page Previous  1, 2
 
Post new topic   Reply to topic     Forum Index -> rulesPlayer
View previous topic :: View next topic  
Author Message
FoX



Joined: 20 Jan 2007
Posts: 11

PostPosted: Mon Jan 22, 2007 3:16 pm    Post subject: Reply with quote

Yes, filename is screwed up in console, but it happens with all cyrillc symbols, even if there is no "ÿ".

File was named "1ÿ1.avi"
In console: "Playing C:\110BC8~1.AVI."

Then I try to write mplyaer output to file, like that:
"c:\program files\mplayer.exe" 1ÿ1.avi > 111.txt
and in file all ok:
"Playing 1ÿ1.avi."

I'm no sure, but there is ASCII charset in windows console, but mplayer output in ANSI.
Back to top
View user's profile Send private message
bobef



Joined: 05 Jun 2005
Posts: 269

PostPosted: Tue Jan 23, 2007 3:39 am    Post subject: Reply with quote

Yes, you are right. I dug deeper and it seems it is problem in D's readLine() implementation. It treats char.init (0xff) as EndOfFile character... If it is not MPlayer I will be able to fix it...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> rulesPlayer All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group