Search found 75 matches: encoding

Searched query: encoding

by dutch
Fri Nov 29, 2024 3:05 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Incorrect Font Display
Replies: 29
Views: 3750

Re: Incorrect Font Display

Dear K.Surasak,

Please let me see your sample code. I'm Thai. If you use Fw_setunicode(.T.), you must save your prg file as Encoding : UTF-8.
If you ANSI, don't use FW_SetUnicode(.F.) function.
Surasak wrote:My program is ANSI not Unicode. but some THAI characters is display like Unicode.
by Silvio.Falconi
Wed Nov 27, 2024 11:55 am
Forum: FiveWin for Harbour/xHarbour
Topic: AI in Software Development: What's Your Take?
Replies: 7
Views: 1246

Re: AI in Software Development: What's Your Take?

... ten thousand times, often Chatgpt does not help you directly i.e. it does not recognize the languages ​​Harbour/fivewin/xharbour has a pseudo encoding that is close to harbour, Ai often uses Python if you do not ask it that you want to do the function in Harbour, you have to waste a lot of time ...
by Natter
Sat Nov 02, 2024 4:34 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Copy file by mask
Replies: 24
Views: 2036

Re: Copy file by mask

https://cloud.mail.ru/public/p3ty/xhkxgTcXa

2 years ago I already solved this problem. The general solution was to change the encoding from UTF8 to ANSI.
However, Windows somehow solves this problem. If you change the title in Explorer, everything works fine.

The header of the attached file ...
by quim
Thu Sep 19, 2024 10:52 am
Forum: FiveWin para Harbour/xHarbour
Topic: Firma electrónica con certificados (Webinar)
Replies: 9
Views: 1512

Firma electrónica con certificados (Webinar)

... lenguaje ASN.1 (Abstract Syntax Notation One)
Extensiones de archivos de certificado X.509 :

.CER - Certificado codificado en CER (Canonical Encoding Rules), algunas veces es una secuencia de certificados
.DER - Certificado codificado en DER (Distinguished Encoding Rules)
.PEM - Certificado ...
by Otto
Sun Sep 15, 2024 9:44 am
Forum: FiveWin for Harbour/xHarbour
Topic: slowness
Replies: 76
Views: 11992

Re: slowness

... 1; // Skipping the deleted flag byte
foreach ($fields as $field) {
$fieldValue = trim(substr($record, $fieldOffset, $field['length']));
$result[$field['name']] = my_utf8_encode($fieldValue); // Ensure UTF-8 encoding
$fieldOffset += $field['length'];
}

return $result;
}



Best regards,
Otto
by Jimmy
Fri Jul 26, 2024 2:12 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Europen Elektronic Bill
Replies: 12
Views: 3238

Re: Europen Elektronic Bill

... https://i.postimg.cc/rmw0WWtX/2024-05-28-Rechnung-99676.png
which include a File called Factur-X.XML and have this Context
<?xml version="1.0" encoding="UTF-8"?>
<rsm:CrossIndustryInvoice xmlns:a="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" xmlns:rsm="urn:un:unece:uncefact:data ...
by José
Mon Jun 24, 2024 12:16 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Win XP Manifest64- Combobox CheckBox Group-box - no funciona
Replies: 4
Views: 605

Win XP Manifest64- Combobox CheckBox Group-box - no funciona

... h>
#include <richedit.h>

LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US

1 24 "MiWinXP.Manifest64"

Archivo MiWinXP.Manifest64

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0 ...
by Otto
Fri Jun 21, 2024 9:05 am
Forum: FiveWin para Harbour/xHarbour
Topic: JWT Implementation in Harbour
Replies: 0
Views: 576

JWT Implementation in Harbour

... the process of creating and validating a JSON Web Token (JWT).
The workflow involves initializing the necessary variables, creating the payload, encoding the payload into a JWT, and then validating the JWT.
If the JWT is valid, the payload is displayed; otherwise, an error message is shown.

Best ...
by Otto
Fri Jun 21, 2024 9:04 am
Forum: FiveWin for Harbour/xHarbour
Topic: JWT Implementation in Harbour
Replies: 4
Views: 564

JWT Implementation in Harbour

... the process of creating and validating a JSON Web Token (JWT).
The workflow involves initializing the necessary variables, creating the payload, encoding the payload into a JWT, and then validating the JWT.
If the JWT is valid, the payload is displayed; otherwise, an error message is shown.

Best ...
by Otto
Mon Mar 18, 2024 8:16 am
Forum: FiveWin for Harbour/xHarbour
Topic: Fulltext-Search
Replies: 6
Views: 1959

Re: Fulltext-Search

If you want to read the result.txt with memoread you need to use : Out-File -FilePath "search_results.txt" -Encoding ASCII'



cText := 'Get-ChildItem -Path ' + ALLTRIM( h['seachpath'] ) + ' -Recurse -Filter ' + ALLTRIM(h['seachpattern'])
cText += ' | Select-String -Pattern "' + ALLTRIM( h ...
by FiveWiDi
Wed Feb 14, 2024 10:34 pm
Forum: FiveWin for Harbour/xHarbour
Topic: PepPol European Invoicing standard
Replies: 12
Views: 2027

Re: PepPol European Invoicing standard

... específicas para ello, por ejemplo:

oDoc := TXMLDocument():New()
oDoc:oRoot:AddBelow( TxmlNode():New( HBXML_TYPE_PI, 'xml' , , "version='1.0' encoding='ISO-8859-1'" ) )
oDocument := TxmlNode():New( HBXML_TYPE_TAG, "Document" )
oDocument:SetAttribute( "xmlns:xsi", "http://www.w3.org/2001/XMLSchema ...
by nageswaragunupudi
Sun Jan 07, 2024 5:31 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Unicode vs UTF8
Replies: 2
Views: 1209

Re: Unicode vs UTF8

Utf8 encoding uses either 1 or 2 or 3 bytes for each character.
All latin characters upto asc 127 are represented by the same single character both in Ansi and Utf8 encodings.
Accented WU characters are encoded with 2 bytes.
Complex scripts like Asian languages use 3 bytes for each character.

utf8 ...
by frose
Sun Nov 26, 2023 9:37 am
Forum: FiveWin for Harbour/xHarbour
Topic: oBtn:ToolTip - UTF8 encoding fails [Unsolved]
Replies: 11
Views: 1488

Re: oBtn:ToolTip - UTF8 encoding fails [Unsolved]

Wondering how do you know my mother tongue?
I've asked ChatGPT :shock: :? 8)
The answer was:
... In Hyderabad, India, the main languages spoken are Telugu, Urdu and English. Telugu is the predominant language in Hyderabad and Telangana, while Urdu is used as the second official language...
by frose
Sun Nov 26, 2023 9:31 am
Forum: FiveWin for Harbour/xHarbour
Topic: oBtn:ToolTip - UTF8 encoding fails [Unsolved]
Replies: 11
Views: 1488

Re: oBtn:ToolTip - UTF8 encoding fails [Unsolved]

Wow, I can't believe. We are downright ridiculous with our 4 multibytes.