Comments (6)
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.
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.
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.
from bubbletea.
I think this was fixed in #343. Can you check?
from bubbletea.
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.
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)
- First line not rendering until event happens HOT 3
- Part of the screen is not rendering when the view is exactly the size of the screen HOT 3
- Proposal: Model v2, program context HOT 1
- Exiting fullscreen glitch when also removing a line in output HOT 2
- Proposal: use x/input to handle input events HOT 1
- `tea.unknownCSISequenceMsg: unknown message type` panics HOT 3
- The visible area in viewport may seem incorrect when content exceed the viewport.Width HOT 10
- Flickering on Windows when using bubbletea >=0.26.0 HOT 2
- SetWindowTitle panic after upgrade from v0.26.2 -> v0.26.3 HOT 1
- When a large update is performed, it will cause a flash. HOT 1
- The input isn't verified before using epoll on it HOT 3
- go version in go.mod is outdated HOT 2
- does Update() get called even when there are no keys being pressed?
- Can't write japanese characters in inputfield HOT 2
- Exit with error message to stderr and non-zero status code
- Async Clipboard
- Automatic command chaining: Cmd -> Cmd -> Msg HOT 1
- Allow WindowSizeMsg to be sent on sub-model Init HOT 5
- Progress bar behaving strangely
- Any support for charts?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bubbletea.