[GH-ISSUE #226] Question: utf8 How do I get the library to output utf8 strings? #182

Closed
opened 2026-05-05 11:50:52 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @bangusi on GitHub (May 10, 2019).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/226

Platform WIndows 10
Visual Studio 2017
My program is generating a file that Excel is unable to load. The problem seems to be related to some utf8 characters.
The comment in the one example for utf8 says "Note: The source file must be UTF-8 encoded.
But I am not sure what source file is referred to because the library does not read files. It writes files.
In the constructor I do not see any option to specify the encoding. What am I missing?

Originally created by @bangusi on GitHub (May 10, 2019). Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/226 Platform WIndows 10 Visual Studio 2017 My program is generating a file that Excel is unable to load. The problem seems to be related to some utf8 characters. The comment in the one example for utf8 says "**Note: The source file must be UTF-8 encoded**. But I am not sure what source file is referred to because the library does not read files. It writes files. In the constructor I do not see any option to specify the encoding. What am I missing?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#182
No description provided.