Page 1 of 1
Broken unicode support on fossapup64 9.5 (Solved)
Posted: Thu Mar 18, 2021 11:49 pm
by wanthinker
As the title say, it seems the support for unicode characters isn't working "right" if at all on fossapup64 9.5...
I tried with custom setting and default setting, even tried following advice/guide like this one to no avail.
I mainly notice this because some files i have got japanese characters in their filenames.
Lastly i tried to install xterm, since i saw that it could fix things, or at least to see if the result would be different there, with similar result.
Apps tested for unicode support:
- urxvt (default setting and later on custom)
- xterm (installed, default setting and later on custom)
- palemoon (default)
Didn't check other apps.
If anyone have any working unicode on their fossapup (9.5) installation or have any suggestion/advice, feel free to.
Broken unicode support on fossapup64 9.5
Posted: Fri Mar 19, 2021 2:27 am
by MochiMoppel
Unicode support in Fossapup is fine and not different from other Puppies.
Nevertheless support in urxvt has never worked for me. Japanese characters are not supported. Urxvt seems to be very picky, even within the same Unicode block. That's why I use the Sakura terminal, which has better support. Here a comparison for Armenian characters in urxvt and sakura. (try yourself and copy the demo string to your own console window: ԱԲԳԴԵԶԷԸԹԺԻԼԽԾ
)
- UnicodeArmenian.png (6.1 KiB) Viewed 685 times
Palemoon also failed for my Japanese webpages, but this was a matter of suitable XML declaration and after finding one that pleases all browsers I have no problems.
Re: Broken unicode support on fossapup64 9.5
Posted: Fri Mar 19, 2021 5:36 am
by wanthinker
I see. Thanks for your detailed feedback
I only ever managed to make urxvt fully work with large amount of unicode characters on distros like popos or archlinux, though I'm not sure what to do in fossapup to reproduce the same working result...
I'll try sakura terminal, never tried this one before so i guess this would be a welcome change of pace.
Too bad for palemoon though, i also managed to notice it only work fine with Japanese characters on other distros but not on certain puppies (this one included) :/
Re: Broken unicode support on fossapup64 9.5
Posted: Fri Mar 19, 2021 5:44 am
by wanthinker
Re: sakura terminal
Seems like it work perfectly for the Armenian string in your example (used echo with quote) but still doesn't display Japanese chars right :/
- Screenshot.png (10.12 KiB) Viewed 676 times
Re: Broken unicode support on fossapup64 9.5
Posted: Fri Mar 19, 2021 6:41 am
by MochiMoppel
wanthinker wrote:
Re: sakura terminal
Seems like it work perfectly for the Armenian string in your example (used echo with quote) but still doesn't display Japanese chars right :/
Works perfectly for me:
- UnicodeJapanese.png (3.58 KiB) Viewed 669 times
Palemoon should work for most Japanese sites but I currently don't use Fossapup so I can't say for sure.
Re: Broken unicode support on fossapup64 9.5
Posted: Fri Mar 19, 2021 6:46 am
by wanthinker
MochiMoppel wrote: Fri Mar 19, 2021 6:41 am
wanthinker wrote:
Re: sakura terminal
Seems like it work perfectly for the Armenian string in your example (used echo with quote) but still doesn't display Japanese chars right :/
Works perfectly for me:Japanese
Palemoon should work for most Japanese sites but I currently don't use Fossapup so I can't say for sure.
do you use default configuration with sakura? I just installed it but didn't change the config yet.
Is it on fossapup 9.5? (given you mentioned you don't use it much so can't check for palemoon afaik)
would love to try your configuration if you don't mind.
Edit: Would love to know the font you're using too!
Re: Broken unicode support on fossapup64 9.5
Posted: Fri Mar 19, 2021 7:23 am
by MochiMoppel
wanthinker wrote:do you use default configuration with sakura?
No. Changed bg/fg colors and most importantly changed font. The default is font=terminus 12 which -as I have no terminus font - seems to render characters in Sans. I changed it to font=Monospace 12. My Japanese font is M+1P+IPAG, however none of the config settings should impact the ability to render Japanese characters as long as any Japanese font is installed.
Re: Broken unicode support on fossapup64 9.5
Posted: Fri Mar 19, 2021 11:30 am
by thinkpadfreak
wanthinker wrote: Thu Mar 18, 2021 11:49 pm
I mainly notice this because some files i have got japanese characters in their filenames.
I have made a Japanized version of fossapup64. Its default Japanese font is M+1P+IPAG.
The fossapup64 thread in the Puppy Linux Japanese Forum
https://sakurapup.browserloadofcoolness ... =24&t=3515
The font M+1P+IPAG does not cover all the Japanese characters, so there are some cases where part of the characters are not shown.
Aside from the issue which result from M+1P+IPAG, the only problem I notice is that when a zip file created on Windows contains Japanese file names they are not shown properly.
To solve the issue, I installed unzip_6.0-5~5.52~ja4_amd64.deb, which the Ubuntu Japanese Team prepared.
https://launchpad.net/~jkbys/+archive/u ... /+packages
Re: Broken unicode support on fossapup64 9.5
Posted: Sat Mar 20, 2021 8:52 am
by wanthinker
MochiMoppel wrote: Fri Mar 19, 2021 7:23 am
wanthinker wrote:do you use default configuration with sakura?
No. Changed bg/fg colors and most importantly changed font. The default is font=terminus 12 which -as I have no terminus font - seems to render characters in Sans. I changed it to font=Monospace 12. My Japanese font is M+1P+IPAG, however none of the config settings should impact the ability to render Japanese characters as long as any Japanese font is installed.
Thanks, guess I'll try fiddling more with sakura config then!
Did you install the M+1P+IPAG font using puppy package manager or something else? Can't seem to find it unless i don't use the right search term...
Re: Broken unicode support on fossapup64 9.5
Posted: Sat Mar 20, 2021 8:56 am
by wanthinker
thinkpadfreak wrote: Fri Mar 19, 2021 11:30 am
wanthinker wrote: Thu Mar 18, 2021 11:49 pm
I mainly notice this because some files i have got japanese characters in their filenames.
I have made a Japanized version of fossapup64. Its default Japanese font is M+1P+IPAG.
The fossapup64 thread in the Puppy Linux Japanese Forum
https://sakurapup.browserloadofcoolness ... =24&t=3515
The font M+1P+IPAG does not cover all the Japanese characters, so there are some cases where part of the characters are not shown.
Aside from the issue which result from M+1P+IPAG, the only problem I notice is that when a zip file created on Windows contains Japanese file names they are not shown properly.
To solve the issue, I installed unzip_6.0-5~5.52~ja4_amd64.deb, which the Ubuntu Japanese Team prepared.
https://launchpad.net/~jkbys/+archive/u ... /+packages
Thanks for the suggestion! Yeah, i did thought of doing this as i stumbled upon that post when searching with the term "fossapup Japanese font" for some reason...
I wouldn't mind using it given it would be the most working and simple solution, but i only need to see Japanese output and prefer to not input Japanese, given my poor proficiency in it (and I'm also trying to better my English).
Unless it have English support too? Guess I'll try it on qemu later today, thanks again!
Re: Broken unicode support on fossapup64 9.5
Posted: Sat Mar 20, 2021 9:45 am
by MochiMoppel
wanthinker wrote:
Did you install the M+1P+IPAG font using puppy package manager or something else? Can't seem to find it unless i don't use the right search term...
Try this:
http://www.murga-linux.com/puppy/viewto ... 116#733116
Re: Broken unicode support on fossapup64 9.5
Posted: Sat Mar 20, 2021 10:38 am
by wanthinker
Seems to work perfectly! had to do
after copying it to /usr/share/fonts/default/TTF/
Cheers
Re: Broken unicode support on fossapup64 9.5
Posted: Sat Mar 20, 2021 11:58 am
by MochiMoppel
wanthinker wrote:Seems to work perfectly! had to do
after copying it to /usr/share/fonts/default/TTF/
Funny, I never had to do that.
Re: Broken unicode support on fossapup64 9.5
Posted: Sat Mar 20, 2021 6:03 pm
by wanthinker
MochiMoppel wrote: Sat Mar 20, 2021 11:58 am
wanthinker wrote:Seems to work perfectly! had to do
after copying it to /usr/share/fonts/default/TTF/
Funny, I never had to do that.
I wouldn't have needed to do that if i rebooted X, or open a new terminal afaik. Doesn't hurt to do it
Re: Broken unicode support on fossapup64 9.5 (Solved)
Posted: Wed May 19, 2021 8:28 pm
by foxpup
I read that you have troubles with unicode support in urxvt in fossapup?
Have you tried changing
in /etc/profile to
maybe
?
It helped me to get MC working properly with 256color skins in urxvt.