Set the encoding of the remaining German resources to UTF-8.

Paul Vriens paul.vriens.wine at gmail.com
Wed Jul 15 05:16:43 CDT 2009


Michael Stefaniuc wrote:
> Paul Vriens wrote:
>> Michael Stefaniuc wrote:
>>> diff --git a/programs/write/De.rc b/programs/write/De.rc
>>> index a953576..db175a0 100644
>>> --- a/programs/write/De.rc
>>> +++ b/programs/write/De.rc
>>> @@ -19,6 +19,8 @@
>>>  
>>>  #include "resources.h"
>>>  
>>> +#pragma code_page(65001)
>>> +
>>>  LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
>>>  
>>>  STRINGTABLE
>> Is there anything against for all .rc files being UTF-8 and having that
>> pragma by default?
> You mean implicit aka when there is no #pragma code_page() defined to
> default to UTF-8? That won't work when compiled with the Windows wrc;
> for that we need the explicit pragma code_page() setting.
> 
> bye
> 	michael

Ok, fair enough.

It was just a thought as soon most of our rc files will be UTF-8 and 
contain the pragma.

-- 
Cheers,

Paul.



More information about the wine-devel mailing list