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

bud/build fails with UTF-8 error on windows XP

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
drobo



Joined: 17 Oct 2010
Posts: 3
Location: Oslo, Norway

PostPosted: Thu Oct 21, 2010 5:06 pm    Post subject: bud/build fails with UTF-8 error on windows XP Reply with quote

Hi all

I managed to build gtkD successfully on one XP computer, but a couple of hours later I was going to do the same on my home computer (also XP), and bud_win.exe (dub/build) gives me the following error:

C:\gtkd\src\build>bud_win.exe gtkD.brf
Error: 4invalid UTF-8 sequence

I am aware that D source may come with different character codes but it seems strange since I pulled the SVN source just a couple of hours later.
Could it be that someone has uploaded code to SVN in the mean time with a different character code, or could it be OS settings? I tried to update TortoiseSVN just in case (Didn't find any settings there regarding character code either)

Any idea where this is going south?
Back to top
View user's profile Send private message
Epileg



Joined: 10 Sep 2009
Posts: 77

PostPosted: Fri Oct 22, 2010 4:59 am    Post subject: Reply with quote

There is no UTF-8 problem with this file. The problem I've found is the "new_line" and the "end_of_file" characters are incorrect. I don't know the cause but it mix the Windows (0D 0A) and Linux (0A) style, and this is not correct.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD All times are GMT - 6 Hours
Page 1 of 1

 
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