Skip to main content

Suche

Beiträge die mit unicode getaggt sind


 
@mcscx Yeah I got it on IRC earlier. gnome-terminal wouldn't make it clickable. Feature or bug? ;)

Nevertheless, unicode spoofing issues is old news. Everyone know about the crap it endues. I think I've had a rant before about #unicode being a tool of cultural appropration for the west.

 
Print process still needs some improvement #2017 #cebit17 #unicode

Bild/Foto

 
Es wird neue #Emojis geben… wieviele davon unterstützt Dein System schon? http://emojipedia.org/unicode-10.0/ #unicode

Unicode 10.0 Emoji List

Unicode 10.0 Emoji List

 
@clacke with #UTF-8 (or in general #Unicode ) you can preserve any fonts that existed on this planet, from #Egyptian #hieroglyphics to #German #Runes and much more are preserved as long as one computer stores them. Very ultimate text format! :-)

Unicode Consortium

The Unicode Consortium and The Unicode Standard

 

 
I have a #bash script that prepares the content for my #diaspora and #pumpio #APOD bots (​apod@pod.jpope.org and apod@pump.jpope.org). For one part of the script, it is basically this:
$ curl -s http://apod.nasa.gov/apod/ap150706.html|grep -a '<title>'|awk -F'<title> ' '{print $2}'

which returns: APOD: 2015 July 6 - Colorful Clouds Near Rho Ophiuchi

Something changed in the July 7 entry that I can't seem to 'fix':
$ curl -s http://apod.nasa.gov/apod/ap150707.html|grep -a '<title>'|awk -F'<title> ' '{print $2}'

which returns: APOD: 2015 July 7 � The Milky Way from a Malibu Sea Cave

The "-" was replaced with "–" and the curl output spits out "�" instead of "–". The bash script calls diaspy to do the actual post to D* and it returns this error:
Traceback (most recent call last):
File "/home/jpope/bin/diaspostapod", line 10, in <module>
stream.post(message.read())
File "/usr/lib/python3.4/codecs.py", line 319, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x96 in position 21: invalid start byte

And as well, the pumpio post is a little jacked up: https://pump.jpope.org/apod/note/wdVwXpydQfeT2iphkn2rhA and was even more jacked up before I added the -a flag for grep: https://pump.jpope.org/apod/note/wAyYP0PjQoODo8L8vzIeHw.

The problem starts with the curl output and some web searches hasn't pointed me in the right direction in correcting it. Also, this has been tried on #Archlinux, #CentOS and #Ubuntu based #LinuxMint with the same results.

Any ideas would be much appreciated. Thanks!

#linux #curl #question #unicode

 
I have a #bash script that prepares the content for my #diaspora and #pumpio #APOD bots (​apod@pod.jpope.org and apod@pump.jpope.org). For one part of the script, it is basically this:
$ curl -s http://apod.nasa.gov/apod/ap150706.html|grep -a '<title>'|awk -F'<title> ' '{print $2}'

which returns: APOD: 2015 July 6 - Colorful Clouds Near Rho Ophiuchi

Something changed in the July 7 entry that I can't seem to 'fix':
$ curl -s http://apod.nasa.gov/apod/ap150707.html|grep -a '<title>'|awk -F'<title> ' '{print $2}'

which returns: APOD: 2015 July 7 � The Milky Way from a Malibu Sea Cave

The "-" was replaced with "–" and the curl output spits out "�" instead of "–". The bash script calls diaspy to do the actual post to D* and it returns this error:
Traceback (most recent call last):
File "/home/jpope/bin/diaspostapod", line 10, in <module>
stream.post(message.read())
File "/usr/lib/python3.4/codecs.py", line 319, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x96 in position 21: invalid start byte

And as well, the pumpio post is a little jacked up: https://pump.jpope.org/apod/note/wdVwXpydQfeT2iphkn2rhA and was even more jacked up before I added the -a flag for grep: https://pump.jpope.org/apod/note/wAyYP0PjQoODo8L8vzIeHw.

The problem starts with the curl output and some web searches hasn't pointed me in the right direction in correcting it. Also, this has been tried on #Archlinux, #CentOS and #Ubuntu based #LinuxMint with the same results.

Any ideas would be much appreciated. Thanks!

#linux #curl #question #unicode