octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #65524] Editing text in the command window is


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #65524] Editing text in the command window is unstable when non-ASCII characters are used
Date: Wed, 27 Mar 2024 13:46:04 -0400 (EDT)

Follow-up Comment #3, bug #65524 (group octave):

I'm currently not working on the command window widget or anything UTF-8
related. But contributions are welcome.

Your question is a bit off-topic. And it would probably be better to ask those
questions on the discourse forum:
https://octave.discourse.group/

Anyway. I agree it is a bit awkward. But you could use `unicode_idx` for those
sorts of things when you know that you'll need to handle non-ASCII characters.
E.g.:

str1 = '12345.03 cm, 12345.03 cm';
str2 = '12345.04 µm, 12345.03 µm';

str2(unicode_idx (str2) == 23)
str2(ismember (unicode_idx (str2), 23:24))




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65524>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]