Translated popup field help displays as question marks.

Field-level context help with Russian text displays as question-mark diamond icons in the popup window. This only happens in “Popup” style context help. “Hint” and “Text” display correctly.

I’m not sure this can be fixed, but I thought it should be reported.

This happens in Chrome and Firefox.

SC 8.0.015
Ubuntu Server, Win10 client.

As a clue, the easiest way is to use the same characterset for all. Even the characterset in your filesystem (if you are storing file swith strange characters in the name) are important.

For Russian, SC is set to use ISO 8859-5 Cyrillic charset.

In the main application, the text displays correctly in English, Spanish, French, Russian, Simplified Chinese, and Arabic. The Popup help type has the wrong charset. Hint and Text help types display correctly.

Just guessing: Chrome, Firefox, and Edge likely have problems creating popup windows with a different charset from the installed default (US English, ISO 8859-1). I haven’t looked that deeply into this.

Maybe the Popup help type should not be the default?

Blyad! Chto yebut!

I guess you ned to check the generated code. Or better yet check the generated source code. You can read the characterset from there. It should be in the first few lines of the html afaik.

It’s a ScriptCase bug. Popup help windows don’t use the selected charset. Popup forms DO use the correct charset.

I have no time or interest in creating a patch for the generated code, then having to re-patch every time I generate, especially when NetMake will probably fix this rather quickly. It is a fundamental flaw in the I18N feature, and they fix those in a hurry.

Update: this happens when the popup help text comes from a ScriptCase lang_ variable. The entire application must be started with the preferred language, in this case, Russian. It also happens with Arabic and Chinese.

It is a serious bug. Easy to fix, probably.
Bump bump bump.

Hello,

First I apologize for the delay. I have some questions to try to simulate the problem locally.

What is the database are you using?
What is the CHARSET used in the database and in the language of your project?

Another question is that we usually use the CHARSET WINDOWS-1251 or UTF-8 for testing with the Russian language. Do you know if this is the most used?

MySQL 5.5 with tables in utf8 (storing 99% integer and double precision numbers).

The project default locale is English (ISO-8859-1), but the other languages are set up to use ScriptCase’s default CHARSET for those languages.

I’m not using Windows-1251 for anything. I develope on Ubuntu, so it’s a personal thing. :rolleyes:

I use ScriptCase’s ISO default CHARSET for each language. For Russian, this is “Cyrillic (ISO-8859-5)”, plus Arabic (ISO-8859-6), Simplified Chinese (EUC-CN), Spanish (ISO-8859-1), and French (ISO-8859-15).

Popup field-help type displays the ? icons for Russian, Chinese, and Arabic.

(Note that French displays correctly despite using ISO-8859-15, but French is also covered by 8859-1 and I do not test every nuance of French in the field help.)

🚀 Scriptcase 9.12 is now available! Check out the new features here 👉🚀 Next Monday (02/24), Scriptcase 9.12 will be released! Check out the new features before anyone else 👉