Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

@bbible3
Copy link

bbible3 commented Jan 20, 2025

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.

@souzatharsis
Copy link
Owner

souzatharsis commented Jan 20, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants