Hexagora Forum
Hexagora Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Other hexagora products
 Programs (Programmi)
 [HELP] ReadUnicodeLine
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sfi_dev
Practical

37 Posts

Posted - 15 Oct 2013 :  04:36:55  Show Profile  Visit sfi_dev's Homepage  Reply with Quote
Hello,

I am reading a unicode txt file generated from excel (save as).

Using the hexunicontols31.ocx the code to read looks something like the below:
Dim goUniFile As New clsUniFile
sResult = goUniFile.OpenFileRead(sfile)
goUniFile.ReadUnicodeLine(sReturnString)

I noticed the first line always has some strange characters in the first few characters - yet I cannot see them in the text file itself. Has this been seen before ?

Thank-you in advance.

Sfi_dev

Edited by - sfi_dev on 15 Oct 2013 06:00:22

s.dav
Site Admin

Italy
3360 Posts

Posted - 15 Oct 2013 :  08:41:35  Show Profile  Visit s.dav's Homepage  Reply with Quote
You probably need to read the so called BOM marker, check the sample at this page:

http://www.hexagora.com/HexUniControls/gen/clsUniFile_ReadUnicodeLine.htm

I suggest you also to upgrade to latest version 3.x or 4.1 (better) we fixed some bugs on this topic

Regards, Davide
Go to Top of Page

sfi_dev
Practical

37 Posts

Posted - 21 Oct 2013 :  01:49:36  Show Profile  Visit sfi_dev's Homepage  Reply with Quote
Thank-you. We currently have v3.10.18

Is there are later (no cost) update ?

Edited by - sfi_dev on 21 Oct 2013 01:50:22
Go to Top of Page

s.dav
Site Admin

Italy
3360 Posts

Posted - 22 Oct 2013 :  15:42:25  Show Profile  Visit s.dav's Homepage  Reply with Quote
Upgrades are always free ;-)

Regards, Davide
Go to Top of Page

sfi_dev
Practical

37 Posts

Posted - 23 Oct 2013 :  07:12:08  Show Profile  Visit sfi_dev's Homepage  Reply with Quote
Cannot complain about that :)

I will look into upgrading within the 3.x series. Cheers.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000