You are not logged in.

#1 2012-10-19 06:03:46

Mactownes
Member
From: The womb
Registered: 2012-08-17
Posts: 22
Website

I need a unicode character, but I can't seem to find it

Hi, I would really like to have the unicode character U+2B80, or "⮀". However, it's not included in my system somehow and I don't know how to install it via fonts... would I have to search for a font that has it in it, or... how would I go about getting this on my system?

Offline

#2 2012-10-19 06:35:24

gholen
Member
From: Göteborg
Registered: 2011-07-26
Posts: 73
Website

Re: I need a unicode character, but I can't seem to find it

Install fonts with https://wiki.archlinux.org/index.php/fonts

Use a terminal to give the command "echo" in a sense. Like this

echo -e '\u2B80'

and you should get the character to appear as the "⮀". Copy and paste, and you'r all set.

Offline

#3 2012-10-19 07:34:49

Mactownes
Member
From: The womb
Registered: 2012-08-17
Posts: 22
Website

Re: I need a unicode character, but I can't seem to find it

gholen wrote:

Install fonts with https://wiki.archlinux.org/index.php/fonts

Use a terminal to give the command "echo" in a sense. Like this

echo -e '\u2B80'

and you should get the character to appear as the "⮀". Copy and paste, and you'r all set.

I don't think you understand... I know fully how to get the unicode character to appear. What I mean is that I don't have the character installed on my system, so what I need is a way to install it so that it appears as the character and not as a box.

Offline

#4 2012-10-19 08:49:09

MyLordAngus
Member
Registered: 2010-12-23
Posts: 10

Re: I need a unicode character, but I can't seem to find it

I don't know what you mean by "install the character on my system". Maybe the font you are using does not support this character. You can try with a different one.

Offline

#5 2012-10-19 09:55:24

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: I need a unicode character, but I can't seem to find it

If you want to display a unicode character, you should use a unicode locale. See the locale article in the wiki. Can you enter the character in a terminal or tty?

Offline

#6 2012-10-19 11:29:26

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

Re: I need a unicode character, but I can't seem to find it

Er... sorry I can't help answer the question, but maybe I can help clarify it as it seems it is not being addressed.

You are looking for an easy way to find a font which would contain a particular character, right?  Of course one could install hundreds of fonts and try each one and through trial and error you might find one that includes that character.  One would hope, however, that there would be some easier way of searching for a font to install that would include the desired character.  It seems thats what the OP is looking for, right?

Edit: perhaps this will help: http://www.alanwood.net/unicode/fontsbyrange.html

According to that site, the following fonts *should* contain that character: Code2000, DejaVu Sans, DejaVu Sans Condensed, DejaVu Serif, DejaVu Serif Condensed, Free Serif, Quivira, sixpack, STIXGeneral, Symbola, YOzFontN

Last edited by Trilby (2012-10-19 11:32:55)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2012-10-19 14:14:24

Mactownes
Member
From: The womb
Registered: 2012-08-17
Posts: 22
Website

Re: I need a unicode character, but I can't seem to find it

Trilby wrote:

Er... sorry I can't help answer the question, but maybe I can help clarify it as it seems it is not being addressed.

You are looking for an easy way to find a font which would contain a particular character, right?  Of course one could install hundreds of fonts and try each one and through trial and error you might find one that includes that character.  One would hope, however, that there would be some easier way of searching for a font to install that would include the desired character.  It seems thats what the OP is looking for, right?

Edit: perhaps this will help: http://www.alanwood.net/unicode/fontsbyrange.html

According to that site, the following fonts *should* contain that character: Code2000, DejaVu Sans, DejaVu Sans Condensed, DejaVu Serif, DejaVu Serif Condensed, Free Serif, Quivira, sixpack, STIXGeneral, Symbola, YOzFontN

That's half of what I'm looking for, yes. I mostly am just asking if there is any way possible to get this character on my system, whether through installing a font or not.

EDIT: I tried most of those fonts inclduing Code2000, which is supposed to have most of the glyphs in existence or something.
I'm beginning to think perhaps this was a custom character put into a font by someone, because I found it in someone's config they gave me, & they're not around so I can't ask them.

Last edited by Mactownes (2012-10-19 14:18:42)

Offline

#8 2012-10-19 14:28:09

Mactownes
Member
From: The womb
Registered: 2012-08-17
Posts: 22
Website

Re: I need a unicode character, but I can't seem to find it

Awebb wrote:

If you want to display a unicode character, you should use a unicode locale. See the locale article in the wiki. Can you enter the character in a terminal or tty?

No, it does not appear anywhere. In terminals it appears as a narrow box, & on the web & other places it appears as the classic Unicode unknown box with "2B80" written inside.

Offline

#9 2012-10-19 15:33:33

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

Re: I need a unicode character, but I can't seem to find it

The only way to get it would be to use a font that has it.  Of course you could also edit any font and add it (create it).  Depending on the type of font, there are a few different tools such as gbdfed.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#10 2012-10-20 04:12:46

freebullets
Member
Registered: 2011-11-10
Posts: 31

Re: I need a unicode character, but I can't seem to find it

http://www.fileformat.info/info/unicode … /index.htm

"U+2B80 is not a valid unicode character."

http://www.fileformat.info/info/unicode … upport.htm

Symbola is the only font that supports it.

Offline

#11 2012-10-20 22:26:18

Mactownes
Member
From: The womb
Registered: 2012-08-17
Posts: 22
Website

Re: I need a unicode character, but I can't seem to find it

So now I've finally got a font that supports it!
Problem is, it appears fine everywhere but URxvt. In URxvt it appears as an error square.
Any ideas?

Offline

Board footer

Powered by FluxBB