Copy link to clipboard
Copied
Hello,
after building the WFP sample from the sdk i implemented a germ anlocalization. It works so far but it displays the German umlaut ü as A1/4. Is there a way to change the encoding. I assume it is ascii.
Thanks in advance.
Greetings
Oliver
I am also using the same for Mac and it works correctly.
Did you set the File Encoding to ANSI.
You may download NotePad++ and check your file encoding.
You could also try the following -
For the below code snippet, make your file encoding must be UTF8. (Validate this from NotePad++).
resource StringTable (kSDKDefStringsResourceID + index_deDE)
{
k_deDE, // Locale Id
kResourceUTF8Encoded, // Character encoding converter
{
kMyKeyStringKey, "My String",
}
Also make sure, XCode is not changing your fi
...Copy link to clipboard
Copied
Hi @ReviloF#67 ,
For German Locale, I have been using the following encoding for many years and it works perfectly well -
File encoding is set to ANSI.
resource StringTable (kSDKDefStringsResourceID + index_deDE)
{
k_deDE, // Locale Id
kEuropeanWinToMacEncodingConverter,
{
kMyKeyStringKey, "My String",
}
- Rahul Rastogi
Adobe InDesign C++ Plugins Architect
Copy link to clipboard
Copied
Hi Rahul Rastogi,
thank you for the answer, i use the same code as you describe but if i use"Müller" instead of "My String" the dropdownlist shows A1/4 instead of "ü" and this is not correct.
forgot to say that i develop on a Mac maybe thats the problem.
Oliver
Copy link to clipboard
Copied
I am also using the same for Mac and it works correctly.
Did you set the File Encoding to ANSI.
You may download NotePad++ and check your file encoding.
You could also try the following -
For the below code snippet, make your file encoding must be UTF8. (Validate this from NotePad++).
resource StringTable (kSDKDefStringsResourceID + index_deDE)
{
k_deDE, // Locale Id
kResourceUTF8Encoded, // Character encoding converter
{
kMyKeyStringKey, "My String",
}
Also make sure, XCode is not changing your file encoding.
Copy link to clipboard
Copied
Hello @Rahul_Rastogi
Thank you, the solution was to change the Character encoding converter, the file Encoding was UTF8
Greetings
Oliver