Unable to display Big5 Chinese characters.
Posted: Fri Jul 26, 2024 7:24 am
Dear Antonio, Mr.RAO
Unable to display Chinese characters. But this is not Unicode. Very simple Big5 code into DBF file.
These Chinese word only Big5 code. not Unicode.
Why not show Chinese Word.
These Chinese word only Big5 code. not Unicode.
But need to use this function to show word.
XBrowse need to add this function HB_TRANSLATE(ALLTRIM(WREHCDAT->NAME),'UTF8','BIG5')
But Use TCBrowse working fine. Not add this function HB_TRANSLATE(ALLTRIM(WREHCDAT->NAME),'UTF8','BIG5')
No problem.
Unable to display Chinese characters. But this is not Unicode. Very simple Big5 code into DBF file.
Code: Select all | Expand
HB_LangSelect( "zh" )
HB_SetCodePage( "UTF8" )
HB_CDPSELECT( "UTF8" )
Fw_SetUnicode( .T. )
REDEFINE XBROWSE oBrwV ID 105 OF oDlgSS ;
HEADERS "病歷號","姓名","治療日","復健師","評估","簡單"+CHR(13)+CHR(10)+"簡單","簡單"+CHR(13)+CHR(10)+"中度","中度"+CHR(13)+CHR(10)+"中度","中度"+CHR(13)+CHR(10)+"複雜","複雜","評估","簡單","中度","中度"+CHR(13)+CHR(10)+"複雜","複雜","評估","簡單","中度","複雜","中度"+CHR(13)+CHR(10)+"複雜" ;
COLSIZES 65,65,75,70,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50 ;
FIELDS WREHCDAT->NUM,;
HB_TRANSLATE(ALLTRIM(WREHCDAT->NAME),'UTF8','BIG5') ,;
Why not show Chinese Word.
These Chinese word only Big5 code. not Unicode.
But need to use this function to show word.
Code: Select all | Expand
HB_TRANSLATE(ALLTRIM(WREHCDAT->NAME),'UTF8','BIG5')
XBrowse need to add this function HB_TRANSLATE(ALLTRIM(WREHCDAT->NAME),'UTF8','BIG5')
But Use TCBrowse working fine. Not add this function HB_TRANSLATE(ALLTRIM(WREHCDAT->NAME),'UTF8','BIG5')
No problem.