FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to avoid the 3 charactor of UTF-8 format?
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
How to avoid the 3 charactor of UTF-8 format?
Posted: Fri Oct 02, 2015 08:34 AM

Dear All,

I try FW_Setunicode(.T.) with sample by save in UTF-8 format but I have to delete first 3 charactors by edit.exe (Ramesh recommend). For testing is fine, now I try with my existing program and I use Ultra Editor (UE). I cannot compile easily because I have to delete first 3 charactors every time.

Have it got some way to ignore this case?

Thanks in advance.

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: How to avoid the 3 charactor of UTF-8 format?
Posted: Sat Oct 03, 2015 06:18 AM

If you are using UE editor you can opt to save without BOM.

By default none of these editors or wordpad prefix the BOM while saving. When they open file with BOM they save with BOM.
It is for some reason there is one file in our samples which was saved with BOM. Please ignore that. In normal course you don't have to worry about it.

Regards



G. N. Rao.

Hyderabad, India
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: How to avoid the 3 charactor of UTF-8 format?
Posted: Sat Oct 03, 2015 07:06 AM
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: How to avoid the 3 charactor of UTF-8 format?
Posted: Mon Oct 05, 2015 02:46 AM

I've got it now, thank you Cristobal & Rao.
Regards,

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)

Continue the discussion