Unicode

Forum rules
We believe in Hello and Thank You.
User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Unicode

Unread post by rhowaldt » Fri Mar 06, 2015 12:48 am

during my recent customizations i ran into the following issue: there is no wifi-symbol inside the Unicode Character Set. that seems quite perplexing, but have a Google, or pore over the lists as i have done, and surely you won't find it (because it doesnt exist).

i was thinking about this, and decided to have a look on the Unicode website, to get a feel for how the organization works. i then came across a list of "Proposed New Characters". here is the list of characters that is "in the pipeline". i figured, maybe somebody has submitted the wifi-symbol to the committee, and it will be added with the next version (even though that would also seem damn long overdue). looking through the list, one can see numerous interesting additions, such as a bottle with a popping cork, a cricket bat and ball, and an upside-down smileyface. the most striking thing, however, is what is so glaringly missing from this list: the fucking wifi-symbol.

there's also a list of "notices of non-approval", but it doesnt indicate they ever refused to add the wifi-symbol. Klingon, however, is clearly out.

the Unicode Committee are such an open bunch, which is really nice. here, from browsing along into the Public Review section, we find that it is possible to give your opinion on non-standard terminology in the naming of certain Unicode items[url]. we might also want to be on the looko ... code emoji. important shit. clearly more important than a wifi-symbol, because that doesn't seem to be on review either.

i then proceeded to look through the entire Unicode character set (well, the relevant categories of course) once again. you'd expect a wifi-symbol to be somewhere in this bigass list: http://www.unicode.org/charts/PDF/U1F300.pdf - but you'd be wrong.
just to be sure, i did a Ctrl+F to search the page for wifi or anything like it. nothing. just to be extra sure, i looked at the Character Name Index, under the letter W. nothing.
on this site, the query "wireless" gave me 8 results. none of them are a wifi-symbol.

so now i ask you, brothers, sisters, whomever: what the actual fuck is going on here? Unicode, y u no do wifi?
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: Unicode

Unread post by dkeg » Fri Mar 06, 2015 1:04 am

I'm new to this whole area. I grabbled stlarch font for some characters, and lemon has some too. So with

Code: Select all

echo -e '\uE047'
I get a wireless symbol

In your .Xresources, you would then have

Code: Select all

*font: -artwiz-lime-medium-r-normal--10-110-75-75-m-50-iso8859-1,-misc-stlarch-medium-r-normal--10-100-75-75-c-80-iso10646-1
That's about all I got for you now.

Work hard; Complain less

User avatar
Dr_Chroot
Alfalfa
Posts: 1100
Joined: Mon Jun 09, 2014 9:49 pm
Location: among the sagebrush
Contact:

Re: Unicode

Unread post by Dr_Chroot » Fri Mar 06, 2015 1:14 am

On a related subject, I wonder if it is at all possible to print all available symbols out? I am able to copy/paste a few from others configs but it is a little tedious to

Code: Select all

echo -e '\uE001'
and so on. Is there some utility built into X.org that will list all of the available characters?
Fight internet censorship.
EFF | Tor Project | Bitcoin

"There have been times throughout American history where what is right is not the same as what is legal. Sometimes to do the right thing you have to break the law." - Edward Snowden

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: Unicode

Unread post by dkeg » Fri Mar 06, 2015 1:31 am

I started to build a list, but did so by manually testing different combinations, etc. Required fonts would be stlarch and lemon. Obviously the icons won't look right in your browser. Unless your on elinks or using lemon as your gtk font (like me!)

There are some duplicates I did not add like horizontal style battery, or consecutive ones, have only the say ...30, not also the 31,32,33 etc. These are also like bookmarkings to have an easier time finding stuff.

Edit: should put the list elsewhere

Work hard; Complain less

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Unicode

Unread post by wuxmedia » Fri Mar 06, 2015 9:07 am

Yeah I see what you mean Rhow, crazy, I thought it may be a copyright bullshit, but no.
ѽ -was my suggestion :) in fact unless you want to do the i-ching, or a million arrows, the non letters are a bit wack.
ש - in hebrew?

this site is pretty useful:
http://jrgraphix.net/r/Unicode/0020-007F
"Candian aboriginal symbols" WTF?

maybe we should propose one?
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: Unicode

Unread post by rhowaldt » Fri Mar 06, 2015 12:20 pm

@wux: i like those Canadian Aboriginal characters :)
i am currently using ⚶ which approaches it.
looked into proposing one quickly the other day, but you can't just email them and go "hey Unicode ppl, y u no wifi-symbol!?!?", you need to have graphics and shit at the ready for them, and a proper name that isn't racist or non-uniform or whatever. so yeah. dunno. if there are people in our group who feel like they could help out with this then sure, let's do a proposal. it just seemed like there was too much shit i dont know enough about required.

@Drew: hmm yeah, i noticed the fontawesome icon set had some useful stuff in it, and your method would indeed be a good way to get to it, but it still seems strange it isnt just part of the Unicode Standard.
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Unicode

Unread post by wuxmedia » Fri Mar 06, 2015 1:25 pm

"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: Unicode

Unread post by rhowaldt » Fri Mar 06, 2015 3:00 pm

^ yep, forgot to mention, found that one too. however, do you know how to actually use it on your system? Geany doesnt recognize it, for example.

so there's another thing i dont really get about this Unicode thing... why are only certain symbols recognized and not others? or has this to do with the font?
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Unicode

Unread post by wuxmedia » Fri Mar 06, 2015 3:13 pm

^ yup - fonts again, if you look on that site you can check if it's on the MScorefonts as well.
I tried to get "universalia" used on that site, but couldn't find after a quick goog. maybe it's a webfont.

Packs of fucking cards (Tried posting Mysql said "no"), I mean WTF - really... no Wifi symbol?
I had a look at submitting something useful, and bailed like you.
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: Unicode

Unread post by rhowaldt » Fri Mar 06, 2015 3:45 pm

yes, it is quite amazing when you think about it. maybe we should start some sort of viral interweb-outrage about this, work our way around their protocols.
damn fonts. makes sense though: getting all of Unicode in your fontset, ain't nobody got time for dat. cant be fucked to make that into a meme, one of you kids do that.
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
stark
MILF
Posts: 521
Joined: Sat Sep 27, 2014 6:38 pm
Location: Arpanet
Contact:

Re: Unicode

Unread post by stark » Wed Mar 11, 2015 9:59 am

Bloat Alert!

I personally use fontforge ( supports plethora of font formats )

There's xorg-xfd ( which I couldn't figure out how to use )

And there's gbdfed ( only bdf fonts )

If you want to avoid fontforge then you may try installing gbdfed ( lighter than fontforge ) and use pcf2bdf to convert the font from pcf to bdf, then open it up in gbdfed and get the hexcodes
Attachments
fontforge.png
If you can do it go ahead and do it, if you can't do it then don't even criticize it. - gingerdesu

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: Unicode

Unread post by dkeg » Wed Mar 11, 2015 11:17 am

can you export the codes to a txt file and share?

You're showing codes for stlarch, correct?

Some requests ...
What is the code for the music notes, play, pause
(edit) And wireless for rho!

Thanks!

Work hard; Complain less

User avatar
Dr_Chroot
Alfalfa
Posts: 1100
Joined: Mon Jun 09, 2014 9:49 pm
Location: among the sagebrush
Contact:

Re: Unicode

Unread post by Dr_Chroot » Wed Mar 11, 2015 3:09 pm

YOU DA BOMB, STARK! Thanks for xfd; this is fantastic :)

Code: Select all

xfd -fn -misc-stlarch-medium-r-normal--10-100-75-75-c-80-iso10646-1
No bloat or extra packages need; came with Xorg :DDD
Fight internet censorship.
EFF | Tor Project | Bitcoin

"There have been times throughout American history where what is right is not the same as what is legal. Sometimes to do the right thing you have to break the law." - Edward Snowden

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: Unicode

Unread post by dkeg » Wed Mar 11, 2015 4:15 pm

Cool, I'll have to check that out tonight

Work hard; Complain less

User avatar
stark
MILF
Posts: 521
Joined: Sat Sep 27, 2014 6:38 pm
Location: Arpanet
Contact:

Re: Unicode

Unread post by stark » Wed Mar 11, 2015 4:59 pm

Thanks so much Doc! I'm so fucking stupid.
If you can do it go ahead and do it, if you can't do it then don't even criticize it. - gingerdesu

User avatar
Dr_Chroot
Alfalfa
Posts: 1100
Joined: Mon Jun 09, 2014 9:49 pm
Location: among the sagebrush
Contact:

Re: Unicode

Unread post by Dr_Chroot » Wed Mar 11, 2015 5:14 pm

^ No sweat dude! The xfd interface is a tad bit rougher than fontforge, so it is all a matter if GTK is wanted or not :)
Fight internet censorship.
EFF | Tor Project | Bitcoin

"There have been times throughout American history where what is right is not the same as what is legal. Sometimes to do the right thing you have to break the law." - Edward Snowden

User avatar
stark
MILF
Posts: 521
Joined: Sat Sep 27, 2014 6:38 pm
Location: Arpanet
Contact:

Re: Unicode

Unread post by stark » Wed Mar 11, 2015 5:26 pm

If anyone is wondering where is the code for the glyphs then, it starts from the 'e' in 'character 0x00e000' ( in the first line where it showed select a character before you clicked on a glyph ), so your glyph code is 'e000'.
Attachments
xfd.png
xfd.png (450.17 KiB) Viewed 4812 times
If you can do it go ahead and do it, if you can't do it then don't even criticize it. - gingerdesu

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: Unicode

Unread post by rhowaldt » Wed Mar 11, 2015 9:05 pm

is it not possible to get a list of the codes for each gliph, as dkeg asked? i would look into it myself if i was home, and i absolutely dont mean it like "you do the work, bitch", so please dont feel obliged to do anything. mainly just interested how one would go about getting those codes. there must be a good way to make a oneliner and retrieve a list of sorts, no?
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: Unicode

Unread post by dkeg » Thu Mar 12, 2015 1:49 am

Dr_Chroot wrote:YOU DA BOMB, STARK! Thanks for xfd; this is fantastic :)

Code: Select all

xfd -fn -misc-stlarch-medium-r-normal--10-100-75-75-c-80-iso10646-1
No bloat or extra packages need; came with Xorg :DDD
Excellent, and great find stark. Wow. Like DC says, was already there. Works perfectly!

Not sure how to get them all out into one file, and with the associated glyph. Hmmm. I guess you could take the range and loop through, echo'ing each one, sending to an output file. Maybe some [awk?] magic to get all possible values;

Code: Select all

e000 > e0ff;
where it would be all possible combinations of

Code: Select all

e0[a-f,1-9][a-f,1-9]
What do you guys think?

Work hard; Complain less

User avatar
stark
MILF
Posts: 521
Joined: Sat Sep 27, 2014 6:38 pm
Location: Arpanet
Contact:

Re: Unicode

Unread post by stark » Thu Mar 12, 2015 3:16 am

I tried to generate a list with fontforge but failed to do so miserably ( just produced a blank file )

As dkeg said maybe a brace expansion like: echo -e "\ue"{000..010} would do it. But not all of them are in numbers so different combinations of brace expansion maybe ? I can manually write the glyph codes and take a scrot of each glyph individually ( no other way to distinguish them as the glyphs have no name built into them ) but its going to take some time.

Edit: Weird.
Attachments
weird.png
If you can do it go ahead and do it, if you can't do it then don't even criticize it. - gingerdesu

Post Reply