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

Michael Stefaniuc mstefani at redhat.com
Wed Jul 15 05:06:23 CDT 2009


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



More information about the wine-devel mailing list