You are not logged in.

#1 2018-05-11 02:32:04

CarterCox
Member
From: Argentina
Registered: 2018-02-24
Posts: 116

Any way to use UTF-16?

Hi. I sometimes find some characters missing in some of the applications I use, and I'd like to see if there is a way to install Arch using UTF-16.

Please note I'm using the right locale for my language.

$ cat /etc/locale.conf
LANG=en_US.UTF-8
$ cat /etc/locale.gen | grep en_US
en_US.UTF-8 UTF-8  
en_US ISO-8859-1

And neither the angels in Heaven above
   Nor the demons down under the sea
Can ever dissever my soul from the soul
   Of the beautiful Annabel Lee;

Offline

#2 2018-05-11 02:59:18

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: Any way to use UTF-16?

This sounds more like a font issue than a UTF-8 or -16 one.  The noto fonts cover just about every glyph you would see on the internet.  Try installing the packages noto-fonts and noto-fonts-cjk.  That should cover just about everything.

Offline

#3 2018-05-11 03:22:17

CarterCox
Member
From: Argentina
Registered: 2018-02-24
Posts: 116

Re: Any way to use UTF-16?

circleface wrote:

This sounds more like a font issue than a UTF-8 or -16 one.  The noto fonts cover just about every glyph you would see on the internet.  Try installing the packages noto-fonts and noto-fonts-cjk.  That should cover just about everything.

Yes you are very right. I'm using a very small set of fonts which probably can't display a log of characters.

However, what if was to end up, for example, in a website with German or Russian characters?


And neither the angels in Heaven above
   Nor the demons down under the sea
Can ever dissever my soul from the soul
   Of the beautiful Annabel Lee;

Offline

#4 2018-05-11 03:25:45

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: Any way to use UTF-16?

Then you need the fonts that have those glyphs, as circleface already said.

Offline

#5 2018-05-11 03:56:37

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: Any way to use UTF-16?

noto-fonts should easily cover German and Russian.  The test is to go to wikipedia.org and look at the main page.  With those two packages I mentioned, I can see every glyph on that main page.  Before installing those packages, you will probably see a whole lot of rectangles where a glyph should be.

Offline

#6 2018-05-11 10:39:37

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,452
Website

Re: Any way to use UTF-16?

What makes you think UTF-16 would make more characters display?  That just changes the encoding not what can be encoded.  And if you are talking about web content UTF-8 is what you want anyways.

Again, all you need is a font with reasonable glyph coverage.  Noto may have the greatest overall (I don't know) but that's not even needed: German and Russian glyphs are far from exoctic and should have good coverage from any general purpose font (DejaVu or Droid as two common examples).


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2018-05-11 11:37:53

loqs
Member
Registered: 2014-03-06
Posts: 17,197

Re: Any way to use UTF-16?

See also https://en.wikipedia.org/wiki/List_of_U … characters and the external links it references.

Offline

Board footer

Powered by FluxBB