# Ubuntu Xenial cling interpreter terminal unicode problem

**URL:** <https://root-forum.cern.ch/t/ubuntu-xenial-cling-interpreter-terminal-unicode-problem/29609>\
**Category:** Cling\
**Created:** [July 2, 2018, 3:48pm UTC](https://root-forum.cern.ch/t/ubuntu-xenial-cling-interpreter-terminal-unicode-problem/29609 "2018-07-02T15:48:58Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![iboyildizbk](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/i/2bfe46/32.png) [@iboyildizbk](https://root-forum.cern.ch/u/iboyildizbk)\
**Post date:** [July 2, 2018, 3:48pm UTC](https://root-forum.cern.ch/t/ubuntu-xenial-cling-interpreter-terminal-unicode-problem/29609/1 "2018-07-02T15:48:59Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![iboyildizbk](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/i/2bfe46/32.png) [@iboyildizbk](https://root-forum.cern.ch/u/iboyildizbk)\
**Post date:** [July 2, 2018, 3:58pm UTC](https://root-forum.cern.ch/t/ubuntu-xenial-cling-interpreter-terminal-unicode-problem/29609/3 "2018-07-02T15:58:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sbinet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/sbinet/32/13166_2.png) [@sbinet](https://root-forum.cern.ch/u/sbinet)\
**Post date:** [July 2, 2018, 4:24pm UTC](https://root-forum.cern.ch/t/ubuntu-xenial-cling-interpreter-terminal-unicode-problem/29609/4 "2018-07-02T16:24:00Z")

</div>

Could you post what you’re trying to do?

---

<div class="post-metadata">

**Author:** ![iboyildizbk](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/i/2bfe46/32.png) [@iboyildizbk](https://root-forum.cern.ch/u/iboyildizbk)\
**Post date:** [July 2, 2018, 5:46pm UTC](https://root-forum.cern.ch/t/ubuntu-xenial-cling-interpreter-terminal-unicode-problem/29609/5 "2018-07-02T17:46:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![iboyildizbk](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/i/2bfe46/32.png) [@iboyildizbk](https://root-forum.cern.ch/u/iboyildizbk)\
**Post date:** [July 4, 2018, 1:08pm UTC](https://root-forum.cern.ch/t/ubuntu-xenial-cling-interpreter-terminal-unicode-problem/29609/6 "2018-07-04T13:08:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![iboyildizbk](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/i/2bfe46/32.png) [@iboyildizbk](https://root-forum.cern.ch/u/iboyildizbk)\
**Post date:** [July 4, 2018, 1:13pm UTC](https://root-forum.cern.ch/t/ubuntu-xenial-cling-interpreter-terminal-unicode-problem/29609/7 "2018-07-04T13:13:20Z")

</div>

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](https://root-forum.cern.ch/t/how-to-use-the-utf8-japanese-characters-in-root-session/18241)  
I think…

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [July 5, 2018, 9:41am UTC](https://root-forum.cern.ch/t/ubuntu-xenial-cling-interpreter-terminal-unicode-problem/29609/8 "2018-07-05T09:41:09Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![iboyildizbk](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/i/2bfe46/32.png) [@iboyildizbk](https://root-forum.cern.ch/u/iboyildizbk)\
**Post date:** [July 5, 2018, 9:26pm UTC](https://root-forum.cern.ch/t/ubuntu-xenial-cling-interpreter-terminal-unicode-problem/29609/9 "2018-07-05T21:26:31Z")

</div>

Thanks for your interest 🙂

---

<div class="post-metadata">

**Author:** ![iboyildizbk](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/i/2bfe46/32.png) [@iboyildizbk](https://root-forum.cern.ch/u/iboyildizbk)\
**Post date:** [July 18, 2018, 12:26pm UTC](https://root-forum.cern.ch/t/ubuntu-xenial-cling-interpreter-terminal-unicode-problem/29609/10 "2018-07-18T12:26:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [July 27, 2018, 9:21am UTC](https://root-forum.cern.ch/t/ubuntu-xenial-cling-interpreter-terminal-unicode-problem/29609/11 "2018-07-27T09:21:00Z")

</div>

You’re not disturbing at all.

Our text input library fails to handle UTF-8 ☹ 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](https://sft.its.cern.ch/jira/browse/ROOT-9562)

---

<div class="post-metadata">

**Author:** ![iboyildizbk](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/i/2bfe46/32.png) [@iboyildizbk](https://root-forum.cern.ch/u/iboyildizbk)\
**Post date:** [August 9, 2018, 1:20am UTC](https://root-forum.cern.ch/t/ubuntu-xenial-cling-interpreter-terminal-unicode-problem/29609/12 "2018-08-09T01:20:21Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [August 23, 2018, 1:20am UTC](https://root-forum.cern.ch/t/ubuntu-xenial-cling-interpreter-terminal-unicode-problem/29609/13 "2018-08-23T01:20:22Z")

</div>

Closed on August 23, 2018, 1:20am UTC

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