Note: You must be registered in order to post a reply.
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!