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

Korean input support #46

Open
Kangmo opened this issue Jan 2, 2023 · 6 comments
Open

Korean input support #46

Kangmo opened this issue Jan 2, 2023 · 6 comments

Comments

@Kangmo
Copy link

Kangmo commented Jan 2, 2023

Issue 1: When I type a Korean character(two byte width per Korean character), scrollbar is broken.
스크린샷 2023-01-03 오전 8 24 37

Issue 2: When I type a second Korean character, the first Korean character becomes one byte strange character.
스크린샷 2023-01-03 오전 8 24 48

Thanks for the great project again!

@magiblot
Copy link
Owner

magiblot commented Jan 2, 2023

Hi Kangmo, thanks for your comments and suggestions.

  • Can you paste here the Korean characters that you typed?
  • Are you on Windows? If so, can you please try the Alacritty terminal emulator and see if you also experience this issue with that program?

@Kangmo
Copy link
Author

Kangmo commented Jan 5, 2023

Hi, magiblot, i am using Macos Ventura 13.1 and tested in the default command terminal app.

here are the two characters
한글

I will try to run the terminal in my windows env

@magiblot
Copy link
Owner

magiblot commented Jan 5, 2023

No, don't worry about Windows if you weren't using it.

If you run the locale command, what output do you get?

@Kangmo
Copy link
Author

Kangmo commented May 30, 2023

Hi magiblot, here is the outout of locale

$ locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

@magiblot
Copy link
Owner

magiblot commented Jun 2, 2023

Hi Kangmo!

This issue is caused by your terminal locale settings. Turbo needs at least the LC_CTYPE variable to be set to a UTF-8 encoding.

In macOS's default terminal this can be fixed through Preferences > Advanced:

Screenshot_20230602_210845

You will then have to start a new terminal session for the changes to take effect.

If your terminal does not allow you to change this, then you will have to change these variables manually as explained in the several answers and comments from this StackOverflow question: https://stackoverflow.com/questions/7165108/in-os-x-lion-lang-is-not-set-to-utf-8-how-to-fix-it

@Kangmo
Copy link
Author

Kangmo commented Sep 6, 2023

Magiblot, thanks for the comment. I will check this out and close the issue.

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