Special characters

Started by runetbj, July 14, 2016, 03:46:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

runetbj

I am trying to do a little translation of BoincTask, but whenever i try to use the chars æøå, i get something like : å = Ã¥ and so on.

(have set the charset to Windows 1252 and codepage to 0)

fred

Quote from: runetbj on July 14, 2016, 03:46:19 AM
(have set the charset to Windows 1252 and codepage to 0)
I added some text to: http://efmer.com/forum/index.php?topic=194
Setting the correct codepage in Windows is important, using a plain text editor like Notepad++ is another.

runetbj

I am using Notepad++ as my text editor for the translation.

In BoincTasks i have the following entry in the log:
Quote15 juli 2016 - 14:18:14 Language ---- User: 1044 (NOR), System: 1044 (NOR), Selected: 0 () Used: 1044 (NOR)

In my translation i have set the following charset:
<GroupCodePage>
<Page> 0 </>
<CharSet> windows-1252 </>
</GroupCodePage>


When i try to use the char With hex code 0x00E5  (Dec 229)  i should get the letter å (shown as å in NP++). In BoincTasks this letter is shown as two letters: Ã¥. According to the Windows-1252 charsets, the char 0x00E5 should be "å"

Also tried to change Charset to Windows-1250 and 1254 without any change in the shown chars.




fred

Quote from: runetbj on July 15, 2016, 12:45:15 PM
I am using Notepad++ as my text editor for the translation.
In Windows you can choose between 2 codepages 
Bokmål and Nynorsk
I want to replicate your machine can you check what your computer is using as default.
Control panel -> Region (Globe and clock) -> Last tab Administrative -> next to the (probably second) button Current language for non-Unicode programs.

runetbj

My computer are running With Norwegian bokmål for non-Unicode programs.

I've tried some of the swedish letters like ö and that one shows up just fine.

The Norwegian letters æøå and ÆØÅ shows up as à followed by another char.

fred

Quote from: runetbj on July 15, 2016, 03:18:09 PM
The Norwegian letters æøå and ÆØÅ shows up as à followed by another char.
In Notepad++ Set Encoding to ANSI. Or choose convert to ANSI.

runetbj

Thank you. Working now :)

Only need to convince BOINC to get my name right now. But i belive that is a bigger task..