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.
Accented Characters (French)
-
- Addict
- Posts: 2345
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Re: Accented Characters (French)
CSV has no encoding information. You need to choose the correct encoding in libreoffice, manually, too.
bye,
Daniel
Daniel
-
- Addict
- Posts: 4780
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: Accented Characters (French)
... and save your data in the CSV file preferably in UTF-8 format.
Re: Accented Characters (French)
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).
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).