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

Search found 5 matches
Forum Index
Author Message
  Topic: Sample prorgam dnote.d fails: "invalid UTF-8 sequence&q
Kostya

Replies: 8
Views: 16349

PostForum: DFL   Posted: Sat Dec 18, 2004 5:28 am   Subject: Sample prorgam dnote.d fails: "invalid UTF-8 sequence&q
Cool! Everything works fine now. Thanks a lot. Very Happy
  Topic: Sample prorgam dnote.d fails: "invalid UTF-8 sequence&q
Kostya

Replies: 8
Views: 16349

PostForum: DFL   Posted: Wed Dec 15, 2004 2:50 pm   Subject: Re: Sample prorgam dnote.d fails: "invalid UTF-8 sequen
Are you using a UTF-encoding for characters? I'm sure that D wouldn't discriminate against Cyrillic characters. You might be able to find a solution by reading this page:

Oh thank you for the link ...
  Topic: Sample prorgam dnote.d fails: "invalid UTF-8 sequence&q
Kostya

Replies: 8
Views: 16349

PostForum: DFL   Posted: Tue Dec 14, 2004 3:15 pm   Subject: Re: Sample prorgam dnote.d fails: "invalid UTF-8 sequen
But I have been contemplating doing what std.file does. It does string conversions based on the OS and calls the "W" functions on NT.
- Chris

Ive just looked how it works in std.file in phobos... ...
  Topic: Sample prorgam dnote.d fails: "invalid UTF-8 sequence&q
Kostya

Replies: 8
Views: 16349

PostForum: DFL   Posted: Tue Dec 14, 2004 2:53 pm   Subject: Re: Sample prorgam dnote.d fails: "invalid UTF-8 sequen
Windows 9x doesn't support many of the "W" functions

But most of them - the most common in fact like GetOpenFileNameW it does support via the Microsoft Layer for Unicode . I will now check if it su ...
  Topic: Sample prorgam dnote.d fails: "invalid UTF-8 sequence&q
Kostya

Replies: 8
Views: 16349

PostForum: DFL   Posted: Sun Dec 12, 2004 8:20 am   Subject: Sample prorgam dnote.d fails: "invalid UTF-8 sequence&q
I built the examlpe notepad from source in dnote.d. When I tried to open a file with cyrillic symbols in the filename it asserted:
"invalid UTF-8 sequence"

I looked up the code and found that the ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group