Submitted by Pavel on 2019/02/27 10:18
 Hi there,
there seems to be a problem with the document pane handling of the PC language settings. My PC locale is set to English and when I put some Eastern European characters into the document pane, they are only displayed correctly until I leave the item. On return to it they are mangled. Same in HTML mode. The text in the grid has no such problems. I can even find the mangled text and it shows properly in the Field Text Search Result.
The problem vanishes if I switch the PC locale to Czech, unfortunately not a satisfactory long-term solution.
 
This is what it should look like:
 
These are the original characters
 
This is what it looks like on return to the item (HTML view showed proper characters before leaving the item, too)
 
 
And this is how it displays in search results:
 
 
It looks like a bug, but I may also be doing something wrong, in which case I will appreciate any advice.

Comments

Hi,
 
Thanks for raising the issue. Can you report back the full HTML code of such an item ? I suspect that the character encoding is not set to UTF-8
e.g.
 
<html><head><meta name="GENERATOR" content="InfoQube 0.9.112c">
<meta charset="UTF-8">
<link id="SSDef936" href="C:\Setup\InfoQube\Current\AppFiles\default.css" rel="stylesheet" type="text/css"></head>
<body><p>ان عدة الشهور عند الله اثنا عشر شه</p></body></html>
 
(for the record, I have no idea what is written in Arabic, it could be insanity and I would not know...)
 
BTW, The code view Edit > Copy did not copy Unicode characters correctly. It is now fixed
 
Pierre_Admin
IQ Designer
 

Pavel

2019/02/27 12:36

In reply to by Pierre_Admin

Hello Pierre,
the UTF-8 parameter was the first thing I checked and I should have thought to include this bit in the screenshot. But no, this doesn't seem to be the problem:
 
This is the code before I leave the item:
 
<HTML><HEAD><META name=GENERATOR content="InfoQube 0.9.111k">
<META charset=UTF-8><STYLE> body {font-family:Arial; font-size:14pt;} table {font-family:Arial; font-size:14pt;} ol, ul { margin: 0.5em 0.5em 0.5em 2em; }</STYLE>
<LINK id=SSDef936 rel=stylesheet type=text/css href="C:\Users\Pavel\Documents\MEGA\IQ\AppFiles\default.css"></HEAD>
<BODY bottomMargin=0 bgColor=#ffffff leftMargin=2 topMargin=2 rightMargin=2>
<DIV><P><P>ěščřžýáíé</P></DIV></BODY></HTML>
 
This is to what it changes after I leave and return:
<HTML><HEAD><META name=GENERATOR content="InfoQube 0.9.111k">
<META charset=UTF-8><STYLE> body {font-family:Arial; font-size:14pt;} table {font-family:Arial; font-size:14pt;} ol, ul { margin: 0.5em 0.5em 0.5em 2em; }</STYLE>
<LINK id=SSDef936 rel=stylesheet type=text/css href="C:\Users\Pavel\Documents\MEGA\IQ\AppFiles\default.css"></HEAD>
<BODY bottomMargin=0 bgColor=#ffffff leftMargin=2 topMargin=2 rightMargin=2>
<DIV><P><P>ěA!??A?A3A1A!A?A?</P></DIV></BODY></HTML>
 
If I understand correctly how the DP works then it uses Internet Explorer and that, in turn, takes over the Windows system language settings (unlike other browsers you can't set it separately just for IE within the program). Which would explain why with everything else being equal the problem disappears as soon as I change the Win system language to Czech. When it is set to English, it somehow interferes. I don't know what operation IQ performs when it leaves an item, but this is when it happens.
 
Pavel
 

Pierre_Admin

2019/02/27 13:23

In reply to by Pavel

Hi Pavel,
 
In the coming version (v112d), I fixed many Unicode related issues. Give it a try (should be released today) and please report back !
 
 
Pierre_Admin
IQ Designer
 

Pavel

2019/02/28 06:36

In reply to by Pierre_Admin

Hello Pierre,
unfortunately the problem persists in v112d.
 
Best wishes
Pavel

Hi !
 
I did quite a few tests. It seems that it isn't related to the Windows display language, rather the regional setting (date, number formats)
 
However, I observed the issue when switching to Czech (or Ukraine). So it is fine using the English settings. This seems to be the opposite of what your reported
 
I'll continue test and hopefully resolve the issue
 
 
Pierre_Admin
IQ Designer
 

Hi,
 
Please try to install the patch v112g and report back. 
 
Also, to help resolve the issue, there is a temporary new toggle setting:
Tools > Options > Program > Document pane > Use UTF-8 when loading Doc pane
 
Try with both setting set to On and Off and report back
 
 
 
Pierre_Admin
IQ Designer
 

Pavel

2019/03/02 12:26

In reply to by Pierre_Admin

Hello,
Great! It does work now with the patch and the "Use UTF-8 when loading Doc pane" setting OFF.
 
Thanks a lot!
Pavel
 

wenmin92

2019/03/21 06:14

In reply to by Pierre_Admin

 I also use this method solve my Chinese problem(Turn "UTF-8" OFF). Thanks!

Pierre_Admin

2019/03/02 09:56

In reply to by wenmin92

Oups, indeed. Fixed
 
Pierre_Admin
IQ Designer