Menu

#2 UTF8 label encoding

closed-fixed
nobody
None
5
2011-10-22
2011-07-30
No

Hi,

I create a label with UTF8 string :
sh->label(row + 3, 1, "Opération");

When i open the xls file result i get :
Op[][]ration

Thanks
Sylvain

Discussion

  • David Hoerl

    David Hoerl - 2011-08-01

    You cannot use a char * UTF8. You must convert the string to a "wide" string using UTF-16. The format of that depends on the platform you use. Look at the headers.

     
  • David Hoerl

    David Hoerl - 2011-10-22

    This is a reasonable request and I will try to get to it shortly.

    David

     
  • David Hoerl

    David Hoerl - 2011-10-22

    Added to 2.1.0

     
  • David Hoerl

    David Hoerl - 2011-10-22
    • status: open --> closed-fixed
     

Log in to post a comment.

Auth0 Logo