Broken unicode support on fossapup64 9.5 (Solved)

Post here if you feel others can duplicate your so discovered "bug"

Moderator: Forum moderators

Post Reply
wanthinker
Posts: 33
Joined: Thu Mar 18, 2021 11:35 pm
Has thanked: 17 times
Been thanked: 1 time

Broken unicode support on fossapup64 9.5 (Solved)

Post 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.

Last edited by wanthinker on Sun Mar 21, 2021 6:35 pm, edited 1 time in total.
User avatar
MochiMoppel
Posts: 1119
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 17 times
Been thanked: 359 times

Broken unicode support on fossapup64 9.5

Post 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
UnicodeArmenian.png (6.1 KiB) Viewed 461 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.

wanthinker
Posts: 33
Joined: Thu Mar 18, 2021 11:35 pm
Has thanked: 17 times
Been thanked: 1 time

Re: Broken unicode support on fossapup64 9.5

Post 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) :/

wanthinker
Posts: 33
Joined: Thu Mar 18, 2021 11:35 pm
Has thanked: 17 times
Been thanked: 1 time

Re: Broken unicode support on fossapup64 9.5

Post 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
Screenshot.png (10.12 KiB) Viewed 452 times
User avatar
MochiMoppel
Posts: 1119
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 17 times
Been thanked: 359 times

Re: Broken unicode support on fossapup64 9.5

Post 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
UnicodeJapanese.png (3.58 KiB) Viewed 445 times

Palemoon should work for most Japanese sites but I currently don't use Fossapup so I can't say for sure.

wanthinker
Posts: 33
Joined: Thu Mar 18, 2021 11:35 pm
Has thanked: 17 times
Been thanked: 1 time

Re: Broken unicode support on fossapup64 9.5

Post 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!

User avatar
MochiMoppel
Posts: 1119
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 17 times
Been thanked: 359 times

Re: Broken unicode support on fossapup64 9.5

Post 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.

thinkpadfreak
Posts: 242
Joined: Thu Jul 16, 2020 6:37 am
Has thanked: 7 times
Been thanked: 55 times

Re: Broken unicode support on fossapup64 9.5

Post 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

wanthinker
Posts: 33
Joined: Thu Mar 18, 2021 11:35 pm
Has thanked: 17 times
Been thanked: 1 time

Re: Broken unicode support on fossapup64 9.5

Post 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...

wanthinker
Posts: 33
Joined: Thu Mar 18, 2021 11:35 pm
Has thanked: 17 times
Been thanked: 1 time

Re: Broken unicode support on fossapup64 9.5

Post 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!

User avatar
MochiMoppel
Posts: 1119
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 17 times
Been thanked: 359 times

Re: Broken unicode support on fossapup64 9.5

Post 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

wanthinker
Posts: 33
Joined: Thu Mar 18, 2021 11:35 pm
Has thanked: 17 times
Been thanked: 1 time

Re: Broken unicode support on fossapup64 9.5

Post by wanthinker »

MochiMoppel wrote: Sat Mar 20, 2021 9:45 am
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

Seems to work perfectly! had to do

Code: Select all

fc-cache -fv

after copying it to /usr/share/fonts/default/TTF/

Cheers

User avatar
MochiMoppel
Posts: 1119
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 17 times
Been thanked: 359 times

Re: Broken unicode support on fossapup64 9.5

Post by MochiMoppel »

wanthinker wrote:

Seems to work perfectly! had to do

Code: Select all

fc-cache -fv

after copying it to /usr/share/fonts/default/TTF/

Funny, I never had to do that.

wanthinker
Posts: 33
Joined: Thu Mar 18, 2021 11:35 pm
Has thanked: 17 times
Been thanked: 1 time

Re: Broken unicode support on fossapup64 9.5

Post by wanthinker »

MochiMoppel wrote: Sat Mar 20, 2021 11:58 am
wanthinker wrote:

Seems to work perfectly! had to do

Code: Select all

fc-cache -fv

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 :)

User avatar
foxpup
Posts: 186
Joined: Fri Jul 24, 2020 1:23 pm
Location: Europe near the Northsea
Has thanked: 75 times
Been thanked: 32 times

Re: Broken unicode support on fossapup64 9.5 (Solved)

Post by foxpup »

I read that you have troubles with unicode support in urxvt in fossapup?

Have you tried changing

Code: Select all

TERM=xterm

in /etc/profile to

Code: Select all

TERM=rxvt-unicode-256color

maybe

Code: Select all

TERM=rxvt-unicode

?
It helped me to get MC working properly with 256color skins in urxvt.

Post Reply

Return to “Bug Reports”