Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Other hexagora products
 Programs (Programmi)
 clsUniFile - ReadUTF8Line (V. 4.2)

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
catweazle Posted - 03 Mar 2014 : 06:48:54
I just stepped into a problem which I want to share:
I read a file with utf-8 characters, it contains also empty lines.
When clsUniFile has read the empty line ".ReadUTF8Line(sRet)", the passed variable sRet still contains the previous value.
When reading an empty line in an ANSI file with .ReadAnsiLine, the sRet is empty instead (as expected).
So I suggest always to reset sRet = "" before .ReadUTF8Line(sRet)

Sorry - the .ReadUnicodeLine i did not test.
1   L A T E S T    R E P L I E S    (Newest First)
s.dav Posted - 03 Mar 2014 : 23:51:11
Hello Cat,

can you send me a sample so I'll check and fix the issue?
Thanks!

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000