oni2 icon indicating copy to clipboard operation
oni2 copied to clipboard

Oni2 can't handle accents

Open dsejas opened this issue 7 years ago • 6 comments

Description: When trying to write a word with an accent, Oni does not display the accented letter. Version: #53dfb8be, dated September 22nd, 2019 How to reproduce: In INSERT mode, type the Spanish word "qué" (with an accent over the "e"). Oni will display "qu".

dsejas avatar Sep 27 '19 23:09 dsejas

AFAIK this is currently blocked by https://github.com/revery-ui/revery/pull/555, as SDL will bring in ime support. Backspacing through unicode is also something that needs to be done differently. It might make sense to make a tracker for international input in general to track all this stuff.

szbergeron avatar Sep 27 '19 23:09 szbergeron

Is this also why emojis don't work, or would that be a separate issue?

johnridesabike avatar Nov 26 '19 21:11 johnridesabike

I suspect this is the same issue I just hit: you can't currently enter a curly quote Unicode character ’. The normal keystroke on macOS, ⌘⇧], results in this output:

€™

Sublime displays this in grayed-out text (presumably b/c it can't properly display it) as <0x80><0x99>, and VS Code displays it like this:

Screen Shot 2020-03-03 at 19 53 01

chriskrycho avatar Mar 04 '20 02:03 chriskrycho

Still an issue with characters like ńąćśźż etc.

baransu avatar Apr 07 '20 09:04 baransu

This should be fixed now with this PR: https://github.com/onivim/oni2/pull/1608

image

(with the caveat that we still don't have font fallback implemented - tracking that as part of the CJK work here: https://github.com/onivim/oni2/issues/868 - that's also the blocker for emojis for us!)

Please feel free to open a new issue if you're still seeing issues, though!

bryphe avatar May 01 '20 01:05 bryphe

Awesome! Thank you. Still enjoying Oni – not quite a daily driver, but using it pretty much every day!

chriskrycho avatar May 01 '20 02:05 chriskrycho