Git Product home page Git Product logo

Comments (6)

meowgorithm avatar meowgorithm commented on July 17, 2024

Hi! Unicode and IME are supported supported by Bubble Tea. What's your system locale set to? Sometimes we've seen this happen when the locale isn’t UTF-8, particularly with CJK locales.

Also, the quick solution is often to set your system locale to UTF-8. On my English/US version of Windows 11 that’s: Control Panel -> Clock and Region -> Region -> Administrative Tab -> Change system locale… -> Beta: Use Unicode UTF-8 for worldwide language support.

from bubbletea.

jon4hz avatar jon4hz commented on July 17, 2024

I've run into issues using unicode symbols on windows (cmd & powershell but not windows terminal). I suppose both don't support the full char set by default. Is there a way to check, if the terminal supports certain chars?

from bubbletea.

ii64 avatar ii64 commented on July 17, 2024

Okay i got Beta: Use Unicode UTF-8 for worldwide language support enabled, restarted my computer, but problem remain the same :/.

【我愛你】 converted to tea.KeyMsg{Type:-1, Runes:[]int32{0, 0, 0}, Alt:false}.

Edit: terminal used Microsoft Windows Terminal, Microsoft Pinyin.

image
image

from bubbletea.

knz avatar knz commented on July 17, 2024

I think this was fixed in #343. Can you check?

from bubbletea.

buffos avatar buffos commented on July 17, 2024

I am having the same problem (when using huh). They are probably related.
There is no support for Greek characters in input fields. Utf-8 is enabled.

from bubbletea.

meowgorithm avatar meowgorithm commented on July 17, 2024

Hi! This is specific to Windows and should be fixed on master.

go get github.com/charmbracelet/bubbletea@master`

If that's not the case, please re-open the issue. Thanks!

from bubbletea.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.