Ubuntu Xenial cling interpreter terminal unicode problem

Thanks for quick reply

I apologize because I am new, couldn’t start new topic (I didn’t know the correct method- now learnt:)
I use ubuntu xenial, and in cling interpreter terminal I cannot write other than ascii characters. I tried different terminal emulators, but could not achieve this.
(My Cling version is recent; may 2018)

Thank you very much, again…

Ps: normally in those terminals i can write unicode characters, problem is only in cling interpreter.

Could you post what you’re trying to do?

In cling interpreter i try to write:
aüa
but i get only
aa
for example

Or…
string s {“die Tür”};
can’t be written, it writes nothing when I press ü:
string s {“die Tr”};

Exactly what in this 4 years old post says:
https://root-forum.cern.ch/t/how-to-use-the-utf8-japanese-characters-in-root-session/18241
I think…

Thanks, I was hoping that this got fixed with cling’s utf support. I will look at this in about 12 days time; please ping me should you not hear from me!

1 Like

Thanks for your interest :slight_smile:

Sorry if disturbing, but because your saying to memorise, could you consider with it?

You’re not disturbing at all.

Our text input library fails to handle UTF-8 :frowning: As it assumes a ‘1 char in string == 1 char on screen’ relation, hacking UTF-8 support in will be a a bit of work.

I have opened https://sft.its.cern.ch/jira/browse/ROOT-9562

1 Like

I have found an android apps that uses Cling, (a fork of it, I guess), in its cling terminal unicode characters can be written, but in a strange way (when you press an unicode character key, it deletes a back character (prompt’s etc.) But if its difficult, it can be written at least. Is this from this apps’ cling code’s difference or from android platform’s specifications, I cannot know really. Maybe it helps to this issue? (Apps name is cxxdroid).

Thanks for your kind interest.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.