<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>8 Aug 2016 06:05:22 Z</lastBuildDate><pubDate>8 Mar 2016 14:32:00 Z</pubDate><description>Hi guys,&#13;
&#13;
I've got an issue with Chinese characters appearing when I read a (text) CSV file!&#13;
&#13;
When I open the CSV file in the Android app in GO mode, then use fReadLine, I can't get to the bottom of why it didn't seem to be working as expected. When I added a Trace command I discovered that the Trace(sCSVRow) line of code below displays as Chinese characters: :confused:&#13;
(Note: the RETURN at the end is just so the rest of the processing doesn't execute - it's just for trying to trace this issue)&#13;
&#13;
sFullFileName is string = fDataDir() + "/" + sFileName nFileNum = fOpen(sFullFileName) // Was the file opened or was there an error? IF nFileNum = -1 THEN // Display error message and go back to the button ToastDisplay("Error: File was not found in " + fDataDir(),toastLong,vaMiddle,haCenter) // Enable plane 0 (main) after error WIN_Data_Import..Plane = 0 // Return to specific screen object ReturnToCapture(BTN_Course_Material) ELSE // Read the first row and throw it away - it's just headers sCSVRow = fReadLine(nFileNum) Trace("This appears in non-Chinese chars!") Trace(sCSVRow) RETURN&#13;
I've looked at the project settings, but can't see why this would be happening. The text file, when opening notepad or Notepad++ looks fine :confused:&#13;
&#13;
Any idea where I can look?</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters/read.awp</link><title>[WDM20] Problem with Chinese characters...</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>salvdianb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-58995/read.awp</comments><pubDate>8 Aug 2016 06:05:22 Z</pubDate><description>Hi,&#13;
I have this problem from WDM, when sending unicode strings to socket. My data is '啤酒'&#13;
 In my receiving end which is a foxp…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-58995/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-58995/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters/read.awp">[WDM20] Problem with Chinese characters...</source><title>Re: [WDM20] Problem with Chinese characters...</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56787/read.awp</comments><pubDate>10 Mar 2016 09:29:00 Z</pubDate><description>Hi Fabrice,&#13;
&#13;
Thanks for the heads up but I am not sure I understood your remark completely as I never had the same potential i…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56787/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56787/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters/read.awp">[WDM20] Problem with Chinese characters...</source><title>Re: [WDM20] Problem with Chinese characters...</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56773/read.awp</comments><pubDate>9 Mar 2016 15:34:00 Z</pubDate><description>Hi Fabrice,&#13;
&#13;
Thanks for the heads up but I am not sure I understood your remark completely as I never had the same potential i…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56773/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56773/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters/read.awp">[WDM20] Problem with Chinese characters...</source><title>Re: [WDM20] Problem with Chinese characters...</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56772/read.awp</comments><pubDate>9 Mar 2016 13:44:00 Z</pubDate><description>Hi Peter,&#13;
&#13;
I think that your method is dangerous, so I always specify the type of string when declaring them. This is why:&#13;
- …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56772/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56772/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters/read.awp">[WDM20] Problem with Chinese characters...</source><title>Re: [WDM20] Problem with Chinese characters...</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56765/read.awp</comments><pubDate>8 Mar 2016 22:10:00 Z</pubDate><description>Thanks Peter - point taken and worth knowing. :xcool:&#13;
&#13;
For this test app I've just saved the external file as Unicode and defi…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56765/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56765/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters/read.awp">[WDM20] Problem with Chinese characters...</source><title>Re: [WDM20] Problem with Chinese characters...</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56764/read.awp</comments><pubDate>8 Mar 2016 21:51:00 Z</pubDate><description>Hi Darren,&#13;
&#13;
I never specfify it at string level unless I'm interacting with something external that requires a conversion.&#13;
I …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56764/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56764/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters/read.awp">[WDM20] Problem with Chinese characters...</source><title>Re: [WDM20] Problem with Chinese characters...</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56761/read.awp</comments><pubDate>8 Mar 2016 17:10:00 Z</pubDate><description>Thanks!&#13;
&#13;
I'm so used to developing in WD for Windows that I'd forgotten about specifying the format of string vars :rolleyes:</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56761/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56761/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters/read.awp">[WDM20] Problem with Chinese characters...</source><title>Re: [WDM20] Problem with Chinese characters...</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56760/read.awp</comments><pubDate>8 Mar 2016 16:49:00 Z</pubDate><description>Hi Darren,&#13;
&#13;
in android , Watch out for UTF8&#13;
&#13;
UTF8 is not UNICODE&#13;
&#13;
:D:D:D:D:D:D:D:D:D:D</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56760/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56760/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters/read.awp">[WDM20] Problem with Chinese characters...</source><title>Re: [WDM20] Problem with Chinese characters...</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56757/read.awp</comments><pubDate>8 Mar 2016 15:14:00 Z</pubDate><description>Thanks Fabrice! I thought it would be an ANSI/Unicode issue, but silly me... I was expecting (...more like "hoping") that WDM wo…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56757/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56757/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters/read.awp">[WDM20] Problem with Chinese characters...</source><title>Re: [WDM20] Problem with Chinese characters...</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56756/read.awp</comments><pubDate>8 Mar 2016 14:46:00 Z</pubDate><description>Hi Daren&#13;
&#13;
you have an ansi/unicode problem.&#13;
&#13;
Windows is ansi, android is unicode, and you are declaring your string as strin…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56756/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters-56756/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56753-wdm20-problem-with-chinese-characters/read.awp">[WDM20] Problem with Chinese characters...</source><title>Re: [WDM20] Problem with Chinese characters...</title></item></channel></rss>
