Accented Characters (French)

Just starting out? Need help? Post your questions and find answers here.
jak64
Enthusiast
Enthusiast
Posts: 625
Joined: Sat Aug 15, 2020 5:02 pm
Location: Ciboure (France)

Accented Characters (French)

Post by jak64 »

Accented Characters (French)

Hello everyone,
I'm delighted to be back on the forum because I'm going to learn something new!
Here's my problem:
I'm creating a PureBasic program to create a .csv file to open with LibreOffice. However, the accented characters (I'm French, and there are accented characters in French, for example, é, è, à, ù, or the c cedilla (ç), etc.) are not displayed correctly.

When I open the file created with LibreOffice, the accented characters are incorrect! I tried using #PB-UTF8, #PB_ASCII, #PB_UNICODE, but nothing works!

Thank you for your help.
DarkDragon
Addict
Addict
Posts: 2345
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: Accented Characters (French)

Post by DarkDragon »

CSV has no encoding information. You need to choose the correct encoding in libreoffice, manually, too.
bye,
Daniel
Little John
Addict
Addict
Posts: 4780
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Accented Characters (French)

Post by Little John »

... and save your data in the CSV file preferably in UTF-8 format.
jak64
Enthusiast
Enthusiast
Posts: 625
Joined: Sat Aug 15, 2020 5:02 pm
Location: Ciboure (France)

Re: Accented Characters (French)

Post by jak64 »

Hello,
Thanks DarkDragon and Little John, I'm so stupid, it's when I open the csv file that I have to choose UTF-8 (UTF-7 is the default in my version of LibreOffice).
Post Reply