Search found 24 matches: endian

Return to advanced search

Re: Unicode vs UTF8

... Complex scripts like Asian languages use 3 bytes for each character. utf8 also is one form of Unicode encodings. Windows uses UTF16LE (Little Endian) encoding for all characters, i.e., 2 bytes for each character. This is what we call Wide Char. Some sample characters: https://imagizer.imageshack.com/v2/xq70/924/X5iuAK.png ...
by nageswaragunupudi
Sun Jan 07, 2024 5:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unicode vs UTF8
Replies: 2
Views: 1032

Re: Unicode to UTF8

"00eb" is UTF16BE character for ANSI "í". ( BE = Big Endian ) "Goyt_a" is ANSI string, not UTF8. So, we need to convert the UTF16 char "\u00EB" to ANSI not UTF8. function myfunc( cText )   local nAt, cuc   do while ...
by nageswaragunupudi
Thu Mar 23, 2023 3:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unicode to UTF8
Replies: 2
Views: 286

Re: E-Mail UTF8 problem?

... if it success, please send me back that file (if do not disturb you)? Dear Dutch Fivedit allows saving the file in UTF8 (also not BOM), and BIG ENDIAN, but I didn't have to do that either for it to work correctly. I have looked at your code and I do not see anything that prevents it from working ...
by dutch
Wed Jul 21, 2021 5:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: E-Mail UTF8 problem?
Replies: 28
Views: 2716

Re: E-Mail UTF8 problem?

Dear Dutch Fivedit allows saving the file in UTF8 (also not BOM), and BIG ENDIAN, but I didn't have to do that either for it to work correctly. I have looked at your code and I do not see anything that prevents it from working properly. Do you have a language ...
by cnavarro
Mon Jul 19, 2021 1:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: E-Mail UTF8 problem?
Replies: 28
Views: 2716

Re: Exportar campos MEMO a excel con TFileXLS

CHR( 44 ) + CHR( 1 ) = 44 + 1 * 256 = 300 (little endian)

or

CHR( 1 ) + CHR( 44 ) = 1 * 256 + 44 = 300 (big endian)

EMG
by Enrico Maria Giordano
Fri Feb 14, 2020 5:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Exportar campos MEMO a excel con TFileXLS
Replies: 1
Views: 556

harbour v1.x -> v.3x Error

hi, i have a old harbour v1.x Source Code and try to run it under v3.x and got these Error ---------------------------------------------------------------------------------------------------- Project [ HbXbase ] Launch [ Yes ] Rebuild [ Yes ] Started [ 08:58:35 ] ------------------------------------...
by Jimmy
Thu Oct 17, 2019 10:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: harbour v1.x -> v.3x Error
Replies: 2
Views: 516

Re: Pritpal, HBIDE developer, assists us to use it with FWH

hi, Thx for Answer. i try different IDE ... but i don't like any of them ... they need Mouse :wink: --- as my old Harbour v1.x Project use xMate i have installed lates HbIDE from Pritpal Bedi and try old harbour v1.x (!) Code. i have copy old gtwvg.env to new Directory and got it in HbIDE Setup ->...
by Jimmy
Thu Oct 17, 2019 7:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Pritpal, HBIDE developer, assists us to use it with FWH
Replies: 293
Views: 99836

Re: AscW() function

... This is not conversion to and from UTF8 but of WideChar. (16bit char encoding). Windows internally works with WideChar, i.e., 64 bit (little endian) characters. In 8bit notation "AB" is "4142" in hex In 16bit notation "AB" is "41004200" in hex
by nageswaragunupudi
Thu Jun 13, 2019 9:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: AscW() function
Replies: 24
Views: 2020

Re: Building Harbour 3.4 for BCC outside MSYS

Now i have tested hbmk2 but is showing the following error: Error: 'C:\FWH\LIB\FIVEH32.LIB' enthlt einen ung ltigen OMF-Record, Typ 0x21 (mglicherweise COFF) Is any solution? The complete trace-output: C:\fwh\samples>c:\\harbour\bin\hbmk2 -plat=win -comp=bcc -trace -lhbmainwin -Lc:\\fwh\lib -lf...
by byte-one
Fri Dec 08, 2017 8:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Building Harbour 3.4 for BCC outside MSYS
Replies: 87
Views: 17411

Re: Traducir VB a C

y #define HB_CDP_ENDIAN_NATIVE 0
by Antonio Linares
Sat Jul 02, 2016 7:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Traducir VB a C
Replies: 21
Views: 3636

Re: Traducir VB a C

Antonio me perdonarás el peñazo, pero al compilar me sale el error:

Error E2451 wmaster.prg 3514: Undefined symbol 'HB_CDP_ENDIAN_NATIVE' in function HB_FUN_SYSALLOCSTRING
Warning W8065 wmaster.prg 3514: Call to function 'hb_itemCopyStrU16' with no prototype in function HB_FUN_SYSALLOCSTRING
:roll:
by José Vicente Beltrán
Sat Jul 02, 2016 4:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Traducir VB a C
Replies: 21
Views: 3636

Re: Mejoras para scintilla

... NEW VERSION 25/11/2015 -------------------------- New: 25/11/2015 - New: Added Option for files Unicode ( Little and Big Endian ) - New: Improvements process New, Save, Load documents - Fix: New document, not create files "Noname" - New: String search, is copied ...
by cnavarro
Wed Nov 25, 2015 9:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mejoras para scintilla
Replies: 1037
Views: 852377

Re: Build with Visual Studio 2015 errors

Solved comenting the line 404 of c:\openssl\crypto\rand\rand_win.c // MODULEENTRY32 m; next error: cl /Fotmp32\rand_win.obj -Iinc32 -Itmp32 /MT /Ox /O2 /Ob2 /W3 /WX /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN 32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO...
by Antonio Linares
Thu Apr 09, 2015 9:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Build with Visual Studio 2015 errors
Replies: 33
Views: 7910

Re: Build with Visual Studio 2015 errors

Solved changing line 381 of c:\openssl\crypto\bio\b_print.c this way: *num = ( short ) currlen; Next error: cl /Fotmp32\rand_win.obj -Iinc32 -Itmp32 /MT /Ox /O2 /Ob2 /W3 /WX /Gs0 /GF /Gy /no 32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPREC -DOPENSSL_NO_SEED...
by Antonio Linares
Thu Apr 09, 2015 9:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Build with Visual Studio 2015 errors
Replies: 33
Views: 7910

Re: Build with Visual Studio 2015 errors

Next error: cl /Fotmp32\b_print.obj -Iinc32 -Itmp32 /MT /Ox /O2 /Ob2 /W3 /WX /Gs0 /GF /Gy /nol 2_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECA -DOPENSSL_NO_SEED -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_CMS -DOPENSSL_NO_JPAKE -D B5 -DOPENSSL_NO_DYNAM...
by Antonio Linares
Thu Apr 09, 2015 9:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Build with Visual Studio 2015 errors
Replies: 33
Views: 7910
Next

Return to advanced search