Unicode Report

Post Reply
User avatar
richard-service
Posts: 583
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

Unicode Report

Post by richard-service »

Dear Mr.Rao

This is Ansi/Big5 DBF and No use any Unicode/UTF8 from my old PRG
Don't set SIZE and it's auto control width

Code: Select all

{ "CUST_NO"   , "C", 10, 0 },;  && 客戶編號
{ "CUST_CNM2" , "C", 12, 0 },;  && 客戶簡稱

COLUMN TITLE "客戶編號"   DATA (::cDBx)->CUST_NO
COLUMN TITLE "客戶簡稱"   DATA (::cDBx)->CUST_CNM2
COLUMN TITLE "聯絡人"     DATA (::cDBx)->CONTACTER
 
Image

This is MySQL and Unicode/UTF8
Don't set SIZE and it's very width, I need to set SIZE function

Code: Select all

"`CUST_NO` char(10)  NOT NULL default '',"+;
"`CUST_CNM2` char(10)  NOT NULL default '',"+;

COLUMN TITLE "客戶編號"                      DATA AllTrim(::oDB:CUST_NO)                                           
COLUMN TITLE "客戶簡稱", "統一編號"     DATA AllTrim(::oDB:CUST_CNM2), AllTrim(::oDB:CUST_ID)
 
Image

I know ANSI/BIG5 and Unicode/UTF8 control word different.
How to control it same as ANSI/BIG5 way or easy coding it?
Any solution?
Regards,

Richard

Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
Post Reply