Support forum of the software localization tool Sisulizer


.NET, Delphi, ... - Sisulizer Localization Tool Support Home

Get in contact with the makers of Sisulizer.
Our forum is open for all questions around Sisulizer from customers and prospects.
Don't hesitate to register and ask. The Sisulizer team will answer ASAP.

Search     Help Home Sisulizer Website Download
Search by username
Not logged in - Login | Register 

 Moderated by: Sisusupport, Renate.Reinartz, Markus.Kreisel, Ilkka.Salmenius
New Topic Reply Printer Friendly
Romanian characters issue - Bugs and Quirks in Sisulizer - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support
AuthorPost
 Posted: Mon Jun 18th, 2018 02:28 pm
PM Private Upload Quote Reply
halley73
Member
 

Joined: Fri Aug 8th, 2014
Location:  
Posts: 66
Status: 
Offline
Hi,
I'm trying to localize some database scripts in romanian Language, but when I use characters like ș or ț a ? is produced in the result text file.

How can I produce this characters correctly?

Thank you,
Luca

Attachment: Error keys.png (Downloaded 5 times)

Back To Top PM Private Upload Quote Reply

 Posted: Mon Jun 18th, 2018 02:38 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3165
Status: 
Offline
Dear Luca,

To convert UNICODE in resources to ANSI Windows has a converting API. While resouces in your app can have all chars at the same time ANSI only can have 256 at the same time. If a char is not in the target codepage Windows will replace it by a ?. Solution is to set the correct code page and to run the application in the correct code page.

More info here: http://sisulizer.com/localization/support/codepages-language-packs-w8.shtml

Btw: The info is also valid for Win10.

Hope this helps

Markus



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Mon Jun 18th, 2018 03:27 pm
PM Private Upload Quote Reply
halley73
Member
 

Joined: Fri Aug 8th, 2014
Location:  
Posts: 66
Status: 
Offline
I don't understand very well.
I don't have this problem with some other languages, and if I look at Wikipedia page of codepage 1250 https://en.wikipedia.org/wiki/Windows-1250, these characters are present at number 254, 186 and 170 for example.

Back To Top PM Private Upload Quote Reply

 Posted: Mon Jun 18th, 2018 05:37 pm
PM Private Upload Quote Reply
halley73
Member
 

Joined: Fri Aug 8th, 2014
Location:  
Posts: 66
Status: 
Offline
Also I've changed the setting in attachment but the file always contains ? character.

Attachment: Setting Unicode.png (Downloaded 4 times)

Back To Top PM Private Upload Quote Reply

 Posted: Mon Jun 18th, 2018 06:06 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3165
Status: 
Offline
The problem happens somewhere in your application when the conversion routine of Windows is called. Sisulizer stores your strings as UNICODE in the resource. You can check that with a resource hacker tool. You will see, that all characters are in place.

So in your app there must be a control where the wrong ANSI code is selected for conversion.

Markus



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Tue Jun 19th, 2018 08:15 am
PM Private Upload Quote Reply
halley73
Member
 

Joined: Fri Aug 8th, 2014
Location:  
Posts: 66
Status: 
Offline
Hi Markus,
we are not talking about dll or exe application, we are talking about DB scripts. So plain text files.

If you want I can send an example via private upload.

Back To Top PM Private Upload Quote Reply

 Posted: Tue Jun 19th, 2018 09:30 am
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3165
Status: 
Offline
Have you set the correct target code page under Project - Edit source - <your source>?

Markus



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Tue Jun 19th, 2018 09:44 am
PM Private Upload Quote Reply
halley73
Member
 

Joined: Fri Aug 8th, 2014
Location:  
Posts: 66
Status: 
Offline
I leave the default option that seems to be correct.

The only way to have it to work is to use UTF-8. With the correct codepage i have ? in the file.

Attachment: Edit source.png (Downloaded 2 times)

Back To Top PM Private Upload Quote Reply

 Posted: Tue Jun 19th, 2018 10:02 am
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3165
Status: 
Offline
Please use private upload to send in one zip:

- your .slp
- your target file

We will check these.

Markus



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Tue Jun 19th, 2018 11:15 am
PM Private Upload Quote Reply
halley73
Member
 

Joined: Fri Aug 8th, 2014
Location:  
Posts: 66
Status: 
Offline
Hi Markus,
thank you for your help.

I've found that the localizators use a different characters from the one present in the Windows 1250 codepage. It's similar but not the same :-(

Yesterday I try to retype character with Romanian keyboard and OSK but didn't work.
Today I retry the process and it work correctly.

Excuse me for the mistake.

Bye bye

Back To Top PM Private Upload Quote Reply

 Posted: Tue Jun 19th, 2018 12:13 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3165
Status: 
Offline
Code pages must have been invented in hell... :-)
If we see these ? in the results here in support there are not many possibilities what can be wrong. The windows api can`t be wrong. There would be a list of endless complains... But it is related to this api.
So it is either the right char and wrong target code page or a char that looks the same but actually isn`t (what also means: wrong target code page).
Let`s hope some day everything is using UNICODE...

Thanks for your positive feedback.

Markus



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

Current time is 06:00 am  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Romanian characters issue



WowUltra modified by Sisulizer Copyright © 2007-18 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Impress - Privacy statement

Sisulizer software localization tool - Three simple steps to localize