<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Japanese characters are not displayed in webvisu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f80bc6844e/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f80bc6844e/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/f80bc6844e/</id><updated>2021-03-25T15:24:56.443000Z</updated><subtitle>Recent posts to Japanese characters are not displayed in webvisu</subtitle><entry><title>Japanese characters are not displayed in webvisu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f80bc6844e/?limit=25#154c" rel="alternate"/><published>2021-03-25T15:24:56.443000Z</published><updated>2021-03-25T15:24:56.443000Z</updated><author><name>andreas-kleiner</name><uri>https://forge.codesys.com/u/andreas-kleiner/</uri></author><id>https://forge.codesys.coma6f983c40d5d8bb6601f75186d065ee1e8a5624d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thats it, thank you very much!&lt;br/&gt;
I would have bought you a beer if you were around &lt;/p&gt;
&lt;p&gt;Best regards&lt;br/&gt;
Andreas &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Japanese characters are not displayed in webvisu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f80bc6844e/?limit=25#6172" rel="alternate"/><published>2021-03-25T14:08:47.997000Z</published><updated>2021-03-25T14:08:47.997000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.com89ac3214a244c6be327c943148df9374ed14f5df</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Since it is a pointer, just assign the result of DynamicTextGetTextW to a POINTER OF WSTRING and after that deference it.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Japanese characters are not displayed in webvisu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f80bc6844e/?limit=25#0ed0" rel="alternate"/><published>2021-03-25T12:45:31.309000Z</published><updated>2021-03-25T12:45:31.309000Z</updated><author><name>andreas-kleiner</name><uri>https://forge.codesys.com/u/andreas-kleiner/</uri></author><id>https://forge.codesys.comc702d0be8e96ad19fda6c50332207f946c6d0ec2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am still struggeling with this japanese characters. &lt;/p&gt;
&lt;p&gt;I changed the data type of the "name* in my structure from string to wstring, i declared ws_text as a wstring as well and&lt;br/&gt;
I want to read the textlist with the function "DynamicTextGetTextW". Now it says that the a "string" cannot be converted to&lt;br/&gt;
a wstring. &lt;br/&gt;
Obviously the return value of this function "DynamicTextGetTextW is always a string and it will display &lt;br/&gt;
the wrong codes in my table. &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;        &lt;span class="k"&gt;FOR&lt;/span&gt; &lt;span class="nv"&gt;i_count10&lt;/span&gt; :&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;i_count1_start&lt;/span&gt; &lt;span class="nv"&gt;TO&lt;/span&gt; &lt;span class="nv"&gt;i_count1_start&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="nv"&gt;i_stepSize&lt;/span&gt; &lt;span class="k"&gt;DO&lt;/span&gt;
            &lt;span class="nv"&gt;sTextListID&lt;/span&gt; :&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;INT_TO_STRING&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;i_count10&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
            &lt;span class="nv"&gt;ws_Text&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;VisuElems&lt;/span&gt;.&lt;span class="nv"&gt;cmpDynamictext&lt;/span&gt;.&lt;span class="nv"&gt;DynamicTextGetTextW&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;ADR&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;sTextList&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;, &lt;span class="nv"&gt;ADR&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;sTextListID&lt;/span&gt;&lt;span class="ss"&gt;))&lt;/span&gt;&lt;span class="o"&gt;^&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;

            &lt;span class="nv"&gt;stScaleParameter&lt;/span&gt;[&lt;span class="nv"&gt;i_count10&lt;/span&gt;].&lt;span class="nv"&gt;Name&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;ws_Text&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
            &lt;span class="nv"&gt;stScaleParameter&lt;/span&gt;[&lt;span class="nv"&gt;i_count10&lt;/span&gt;].&lt;span class="nv"&gt;Index&lt;/span&gt; :&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;i_count10&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
        &lt;span class="nv"&gt;END_FOR&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Is there another way to read these Japanese characters and display it correctly in the table?&lt;br/&gt;
 All other texts, that are not part of this structure are displayed correctly (in Japanese) &lt;br/&gt;
 Your help is much appreciated. I am new to this field and not well experienced.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br/&gt;
 Andreas &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Japanese characters are not displayed in webvisu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f80bc6844e/?limit=25#7ff2" rel="alternate"/><published>2021-03-23T09:20:07.706000Z</published><updated>2021-03-23T09:20:07.706000Z</updated><author><name>andreas-kleiner</name><uri>https://forge.codesys.com/u/andreas-kleiner/</uri></author><id>https://forge.codesys.com4838303c59558851d61ab3525e2f34f46389c1b0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you Marcel&lt;br/&gt;
Thats quite a huge change in the program.&lt;br/&gt;
I have to replace all the strings.&lt;br/&gt;
Thanks for your help&lt;br/&gt;
Andreas &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Japanese characters are not displayed in webvisu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f80bc6844e/?limit=25#c5af" rel="alternate"/><published>2021-03-23T08:32:08.298000Z</published><updated>2021-03-23T08:32:08.298000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.com01dc2f721bc2e3a93bd2f88a4d9f76340a8bb462</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You have to use wstrings if you want to display non ASCII characters.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Japanese characters are not displayed in webvisu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f80bc6844e/?limit=25#4060" rel="alternate"/><published>2021-03-23T08:27:18.526000Z</published><updated>2021-03-23T08:27:18.526000Z</updated><author><name>andreas-kleiner</name><uri>https://forge.codesys.com/u/andreas-kleiner/</uri></author><id>https://forge.codesys.comab45e27cade1844846854d9df36a2a185d15f07f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I guess i was too early with celebrating&lt;/p&gt;
&lt;p&gt;Now the HMI shows inconsistent characters.&lt;/p&gt;
&lt;p&gt;The text on the main screen are displayed correctly&lt;br/&gt;
but not the text in a table. &lt;br/&gt;
The table is part of a Structure and the Name is defined as a string. &lt;br/&gt;
This string is now displayed weird.&lt;/p&gt;
&lt;p&gt;Thanks for all answers.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br/&gt;
Andreas&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Japanese characters are not displayed in webvisu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f80bc6844e/?limit=25#fa4a/b14f" rel="alternate"/><published>2021-03-23T08:17:20.617000Z</published><updated>2021-03-23T08:17:20.617000Z</updated><author><name>andreas-kleiner</name><uri>https://forge.codesys.com/u/andreas-kleiner/</uri></author><id>https://forge.codesys.comb2d43b313a3a21c522d2470f10edb488e2a7f513</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you Marcel!&lt;br/&gt;
That was missing.&lt;/p&gt;
&lt;p&gt;Have a great day.&lt;br/&gt;
Best regards&lt;br/&gt;
Andreas &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Japanese characters are not displayed in webvisu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f80bc6844e/?limit=25#fa4a" rel="alternate"/><published>2021-03-23T08:12:13.201000Z</published><updated>2021-03-23T08:12:13.201000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.comeb17b7be7d7e2dd9c8333de48f7b29108164d153</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey,&lt;br/&gt;
have you checked the box "Use unicode string" in the visu manager?&lt;br/&gt;
&lt;a href="https://help.codesys.com/webapp/_visu_obj_manager;product=core_visualization;version=3.5.16.0" rel="nofollow"&gt;https://help.codesys.com/webapp/_visu_obj_manager;product=core_visualization;version=3.5.16.0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Japanese characters are not displayed in webvisu</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f80bc6844e/?limit=25#9d27" rel="alternate"/><published>2021-03-23T08:07:56.044000Z</published><updated>2021-03-23T08:07:56.044000Z</updated><author><name>andreas-kleiner</name><uri>https://forge.codesys.com/u/andreas-kleiner/</uri></author><id>https://forge.codesys.com74bc7570897710c6919708e267a2f244b62a6a40</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Good morning everyone&lt;br/&gt;
I have an issue with displaying japanese characters in the web visu.&lt;br/&gt;
May someone give me a hint what to do?&lt;/p&gt;
&lt;p&gt;I have a translated textlist (see attachment). I can download it (no errors) but it displays only question marks (???)&lt;br/&gt;
It appears the same way on all devices, on our web panel at the machine, over a web browser from my laptop or from a mobile device. &lt;/p&gt;
&lt;p&gt;All other language changes work. &lt;/p&gt;
&lt;p&gt;Thanks for your help. &lt;/p&gt;
&lt;p&gt;Best regards&lt;br/&gt;
Andreas &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>