Search found 460 matches: byte

Return to advanced search

Un problema con el puerto Comm

... pues resulta que el que lo lleva en el interior me lee la cadena completa, mientras que la que tiene el adaptador externo, me lee primero un byte, y en la siguiente lectura el resto. Pongo el código: En el díálogo en el que se hace la lectura: oDlg:bCommNotify = { | nComm, nStatus | ...
by groiss
Wed Apr 03, 2024 8:33 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Un problema con el puerto Comm
Replies: 1
Views: 322

Re: come recuperare il codice fivewin da .c file

You can try it using chatgpt: recover the original PRG code from this pcode: HB_FUNC( APRIDBCONPASSWORD ) { static const BYTE pcode[] = { HB_P_FRAME, 0, 2, /* locals, params */ /* 00003 */ HB_P_BASELINE, 138, 0, /* 138 */ HB_P_PUSHLOCALNEAR, 2, /* PASSWORD */ HB_P_PUSHNIL, HB_P_EXACTLYEQUAL, ...
by Antonio Linares
Mon Feb 12, 2024 9:55 pm
 
Forum: All products support
Topic: come recuperare il codice fivewin da .c file
Replies: 7
Views: 439

Re: Classe TGif

... characteristics: It should have a header that identifies the file as a GIF file and specifies the version of the format. The header should be six bytes long and contain the ASCII characters “GIF89a” It should have a logical screen descriptor that defines the dimensions and properties of the logical ...
by Antonio Linares
Fri Dec 08, 2023 8:22 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Classe TGif
Replies: 9
Views: 1651

Re: String in unicode

This is a UTF8 encoded string. You can use HB_UTF8LEN( cString ) to find the number of characters (not bytes) and HB_UTF8SUBSTR( cString, n, 1 ) to get the nth character (not byte) Example: Let us take a sample string in Hex: "41C39CC49EE0B095". This is displayed ...
by nageswaragunupudi
Thu Nov 16, 2023 6:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: String in unicode
Replies: 6
Views: 464

String in unicode

Hi,

There is a string in unicode. The length of Latin characters is 1 byte, the length of characters of other code pages is 2 bytes.
How to get an array of characters of this string ?
by Natter
Wed Nov 15, 2023 1:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: String in unicode
Replies: 6
Views: 464

oCn:Insert() - UTF8 encoding fails [Unsolved]

Encoding fails when inserting a character string contains 2-Byte ANSI character, e. g. '"üäö". Encoding is OK if the character string contains at least one 2-Byte NON ANSI character, e. g. "П" #include "fivewin.ch"STATIC aStr ...
by frose
Thu Nov 09, 2023 9:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oCn:Insert() - UTF8 encoding fails [Unsolved]
Replies: 6
Views: 296

Re: TGet() - UTF8 encoding fails [Unsolved]

I noticed that all hexcodes in your example are ANSI and that there are NO UTF8 2-byte hexcodes!

Probably the encoding is already changed to ANSI before the TGet() was activated!?

Maybe it is the text object to display the hexcode directly?

I'll test it tomorrow 8)
by frose
Wed Oct 11, 2023 8:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 1718

Re: Announcing DrXlsx 1.0 by Charles Kwon

... more details in your other posting. All English characters and also all non-accented characters of other languages are encoded as same single byte both in ANSI and UTF8, so there is no problem there. I noticed that this library requires utf8 encoding. If our string containing Umlauts is encoded ...
by nageswaragunupudi
Sun Aug 27, 2023 4:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Announcing DrXlsx 1.0 by Charles Kwon
Replies: 32
Views: 3847

Re: not ISOEM(), ISANSI() or IsUTF8()

... mind. While all English characters and all characters of other West European languages other than accented characters are represented by a single byte in both ANSI and UTF8 notiation, the accented characters (which include German Umlauts) are represented by a single byte in ANSI and two bytes ...
by nageswaragunupudi
Sun Aug 27, 2023 2:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: not ISOEM(), ISANSI() or IsUTF8()
Replies: 34
Views: 2075

Re: DBF to Excel Sheet, without Excel, using ADO ?

... using your Sample i got https://i.postimg.cc/d0607GTW/XLSX-notexist.jpg --- than i create "some.xlsx" but with 0-Byte and i got "wrong Structure" https://i.postimg.cc/C5k5xXC8/fail-open-empty.jpg --- so i try to create Structure of Table, ...
by Jimmy
Wed Aug 09, 2023 2:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF to Excel Sheet, without Excel, using ADO ?
Replies: 50
Views: 2561

Re: Search by format

... languages? If you are confined to English and West European languages, all characters other than accented characters are represented by a single byte (and the same byte) both in ANSI and UTF8. So, normal RegEx expressions should work with UTF8 text also, if you are not programming for Asian languages
by nageswaragunupudi
Wed Aug 02, 2023 3:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Search by format
Replies: 7
Views: 435

Re: FW_SetUnicode( .T. ) 2-Byte characters

These issues with Umlauts is fixed in FWH2307 soon to be released.
by nageswaragunupudi
Tue Jul 25, 2023 12:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SetUnicode( .T. ) 2-Byte characters
Replies: 25
Views: 2182

Webservice de .NET a Fivewin

... = CType(myReq.Proxy, IWebProxy) Dim proxyaddress As String Dim myProxy As New WebProxy() Dim encoding As New ASCIIEncoding Dim buffer() As Byte = encoding.GetBytes(sXmlIda) myReq.AllowWriteStreamBuffering = False myReq.Method = "POST" myReq.ContentType = "text/xml; charset=UTF-8" ...
by mterraz
Wed Jul 12, 2023 4:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Webservice de .NET a Fivewin
Replies: 2
Views: 574

Re: FW_SetUnicode( .T. ) 2-Byte characters

yes, this issue (bug) is very confusing. To better understand what is happening, I have adjusted the sample again: function Main()   local oDlg   local oGet   local oEdit   local oMulti   local oMemo   local cVar1 := "üäö"   local cVar2 := "üäö"   local cVar3 := "üä...
by frose
Thu Jun 29, 2023 7:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SetUnicode( .T. ) 2-Byte characters
Replies: 25
Views: 2182
Next

Return to advanced search

cron