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

Is it possible show multi bytes character? #278

Open
wvogel00 opened this issue Dec 16, 2023 · 1 comment
Open

Is it possible show multi bytes character? #278

wvogel00 opened this issue Dec 16, 2023 · 1 comment

Comments

@wvogel00
Copy link

I touched some samples and am now building my first simple application with this library. I want to use multi-byte characters (like Japanese) for this application. However, this library uses not ByteString or Text but String.
Can I show multi-byte characters with this library??

@bradrn
Copy link
Contributor

bradrn commented Dec 16, 2023

It’s been a while since I last used threepenny-gui, but Haskell’s String type has Unicode support — Char is not a single byte. Occasionally there are IO problems (particularly on Windows), but I believe setting the locale should fix those.

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