You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating content in Japanese: UnicodeEncodeError: 'charmap' codec can't encode character '\u300c' in position 9: character maps to <undefined>
#229
Open
bbible3 opened this issue
Jan 20, 2025
· 1 comment
This error occurred when attempting to generate Japanese language content, after specifying Japanese in the config.
I was able to rectify this by modifying calls to open() in content_generator.py and client.py with encoding="utf-8". I imagine other non-Latin alphabet languages could be harmed by this too.
The text was updated successfully, but these errors were encountered:
On Mon, Jan 20, 2025 at 3:02 AM Bryce ***@***.***> wrote:
This error occurred when attempting to generate Japanese language content,
after specifying Japanese in the config.
I was able to rectify this by modifying calls to open() in
content_generator.py and client.py with encoding="utf-8". I imagine other
non-Latin alphabet languages could be harmed by this too.
—
Reply to this email directly, view it on GitHub
<#229>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADTMY3JFA67YRV45YCQIDDD2LSUPNAVCNFSM6AAAAABVPXZ6UCVHI2DSMVQWIX3LMV43ASLTON2WKOZSG44TQNBZGEZDKNQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
This error occurred when attempting to generate Japanese language content, after specifying Japanese in the config.
I was able to rectify this by modifying calls to open() in content_generator.py and client.py with encoding="utf-8". I imagine other non-Latin alphabet languages could be harmed by this too.
The text was updated successfully, but these errors were encountered: