-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UTF-8 symbols display broken on my Ubuntu 16.04 #71
Comments
@d9k Thanks for trying Diakonos! Please provide a sample file for download somewhere. When I copy and paste ф into diakonos, and save it and re-open the file, it works for me. |
I can't find diakonos in the 16.04 repos myself to check, but the most comprehensive text file for UTF-8 testing is: http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt Trying to install from this github repo, doing:
But diakonos doesn't work... |
@pepa65 Diakonos handles that UTF-8-demo.txt file very well, actually. (I checked [again] just now.) Your terminal font needs to support all the characters, though. (My choice of font, Terminus, for example, doesn't have the accented Greek letters.) |
It's only the zero-width spacing (for the Thai script) that isn't working then for the UTF-8-demo.txt file. Any idea what can be done to build it on Ubuntu 16.04? |
@pepa65 I rarely use Ubuntu, but bear in mind that the |
Thanks for providing help, @Pistos, @pepa65! 😌
Maybe there are some codepage settings in diakonos config? |
I can try to execute some ruby code if you give, maybe that's problem with ruby libraries installed. |
I tried |
@d9k: Is there anything relevant-looking in |
@d9k Tell me more about what Linux distro you're on, what desktop environment, what terminal program you're using. And if you can send the output of |
@d9k Also, send the output of |
@Pistos, thanks for your investigation! I use Kubuntu 16.04 upgraded from 14.04 with
env dumped from xfce4-terminal emulator:
|
That explains it. There is no diakonos package for 16.04, but you somehow still have the old diakonos from 14.04. It won't work well with mismatch in libraries. |
@d9k What version do you get when you type Are you able to paste ф into a file in Diakonos, then save it, then reopen it in Diakonos? What do you see? |
@Pistos when I try to paste |
(mine last message contained a mistake and was corrected) |
@d9k Please paste this string into Diakonos and then tell me what you see:
|
I wrote the version info in the first message:
.
I see
The string is too long to copy. I can't scroll it. (One russian letter is shown as ~5 symbols on screen but cursor works as if there was just 30 letters on screen, not ~150. When I delete one such invisible letter ~5 corresponding symbols dissapear from screen) |
@d9k Can you try from other terminals, like Konsole and xterm? Also try to open a file from the tty consoles (Ctrl-Alt-F1 to go to the first tty, Ctrl-Alt-F7 to go back to the first xorg session). |
UTF-8 output is NOT broken on Ubuntu, any version. Otherwise you would hear a whole lot more about it. d9k, your install of diakonos is totally broken. You have diakonos left over from the Ubuntu 14.04 repos, and you have renewed all linked libraries etc. There is no need to debug this situation any further. What is needed is a proper way yto get diakonos to run on Ubuntu 16.04. |
@d9k Also, try to run |
How are things with this issue? |
Well, an official package for diakonos on Ubuntu 16.04 still doesn't exist, and the package from 14.04 still doesn't work well with the 16.04 libraries (as can be expected). |
@Pistos, I experience same issue on the fresh ubuntu 16.04 installation on another computer.
No problem with irb
Can you try to install diakonos on the ubuntu 16.04 inside VirtualBox and debug an issue? |
@d9k Can I ask from where you got the package? Standard Ubuntu 16.04 doesn't have a diakonos package. |
I just managed to build without issue on Ubuntu 16.04 following the instructions in the README.md |
@pepa65, I followed instructions from README.rdoc too. |
Does it build OK? |
@pepa65, what do you mean? It works. But with bug described here. |
@d9k Sorry that I am late in replying to all this. I noticed in your environment that your |
@d9k This is what I meant when I said "try it in
Can you try that, and copy-paste the irb output to us? |
Hi!
I love diakonos but when I open utf8 file with some russian characters it shows them as strange sequence of letters and signs, for example: the word
файл
is shown asM-Q~DM-PM-0M-PM-9M-PM-;
in diakonos.Are there any options in diakonos config (F12) to fix this? Russian letters in files and keyboard input are shown properly in bash, vim and nano editor.
I use Diakonos v. 0. 9. 6 (Feb 19, 2016) from Kubuntu 16.04 standart aptitude repository package.
The text was updated successfully, but these errors were encountered: