How to avoid the 3 charactor of UTF-8 format?

How to avoid the 3 charactor of UTF-8 format?

Postby dutch » Fri Oct 02, 2015 8: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 19.01 / 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)
User avatar
dutch
 
Posts: 1535
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: How to avoid the 3 charactor of UTF-8 format?

Postby nageswaragunupudi » Sat Oct 03, 2015 6: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
User avatar
nageswaragunupudi
 
Posts: 10264
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: How to avoid the 3 charactor of UTF-8 format?

Postby cnavarro » Sat Oct 03, 2015 7: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
User avatar
cnavarro
 
Posts: 6501
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: How to avoid the 3 charactor of UTF-8 format?

Postby dutch » Mon Oct 05, 2015 2:46 am

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

FWH 19.01 / 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)
User avatar
dutch
 
Posts: 1535
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 11 guests