It is currently 16 Apr 2024, 19:08
   
Text Size

Question: Used Codepage? Problem with translation

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Question: Used Codepage? Problem with translation

Postby twosat » 24 Sep 2019, 21:28

Which codepage does Forge use?
Unicode, UTF,... ???
I have noticed some problems with language specific characters. As expamle the german language uses ÜüÖöÄäß.
In forge they are ommitted. This looks like a problem either with the used codepage or with the font.

I have no knowledge of the other foreign translations, but there should be problems, too.
Has anyone noticed similar problems?
twosat
 
Posts: 75
Joined: 09 Jan 2017, 11:04
Location: Germany
Has thanked: 5 times
Been thanked: 4 times

Re: Question: Used Codepage? Problem with translation

Postby twosat » 24 Sep 2019, 22:00

Hmmh, maybe it's the old ANSI-ASCII problem. I should be able to convert it with notepad++. Tomorrow i will give it a try.
twosat
 
Posts: 75
Joined: 09 Jan 2017, 11:04
Location: Germany
Has thanked: 5 times
Been thanked: 4 times

Re: Question: Used Codepage? Problem with translation

Postby klaxnek » 25 Sep 2019, 08:18

twosat: It uses UTF-8 encoding.
Do you have that problem in Android build? Then I'm sure the problem is the font.
These special characters are generated in Android (chars += "ÁÉÍÓÚáéíóúÀÈÌÒÙàèìòùÑñÄËÏÖÜäëïöüẞß¿¡") but the theme font needs to support them.

Try to change to another theme like Darkred or Darkforge and tell us.
klaxnek
 
Posts: 11
Joined: 06 Jul 2019, 13:05
Has thanked: 6 times
Been thanked: 2 times

Re: Question: Used Codepage? Problem with translation

Postby twosat » 25 Sep 2019, 19:36

Yeah, desktop version looks fine. The android version misses these chars.
I tried the suggested themes and a few others. No success. Still missing the chars.

I tested the translation file. Notepad++ says it is already UTF-8.

I am working on the german part of the translation. So i'm interested it's working (and looking) fine. 8-[
twosat
 
Posts: 75
Joined: 09 Jan 2017, 11:04
Location: Germany
Has thanked: 5 times
Been thanked: 4 times

Re: Question: Used Codepage? Problem with translation

Postby klaxnek » 29 Sep 2019, 07:36

Close Forge, delete Forge/cache/fonts folder and restart Forge.
I've tested with Darkforge font and it works ok. Next version of Darkred will use Darkforge font.
Image
klaxnek
 
Posts: 11
Joined: 06 Jul 2019, 13:05
Has thanked: 6 times
Been thanked: 2 times

Re: Question: Used Codepage? Problem with translation

Postby twosat » 30 Sep 2019, 08:11

It's seems you are using a snapshot. I'm on V1.6.28.002.
So i will wait till the next version is released and then try as suggested.
twosat
 
Posts: 75
Joined: 09 Jan 2017, 11:04
Location: Germany
Has thanked: 5 times
Been thanked: 4 times

Re: Question: Used Codepage? Problem with translation

Postby twosat » 08 Oct 2019, 20:08

Updating did the trick!
V1.6.28.002 can't do the special chars.
V1.6.29.001 shows them in all the tested themes!

Hail to the developers!!!
twosat
 
Posts: 75
Joined: 09 Jan 2017, 11:04
Location: Germany
Has thanked: 5 times
Been thanked: 4 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 61 guests


Who is online

In total there are 61 users online :: 0 registered, 0 hidden and 61 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 61 guests

Login Form