Tag: utf-8
Decode URL encoded strings on OpenBSD
alias urldecode=’$PYTHON -c “import urllib, sys; print urllib.unquote(sys.argv[1] if len(sys.argv) > 1 else sys.stdin.read()[0:-1])”‘
ADDING UTF-8 to locale list
*First add de_DE.UTF-8 UTF-8 to /etc/locale.gen. *Then type locale-gen. *Do eselect locale list. This should now list the new added de_DE.utf8. Activate the new locale with eselect locale set NUMBER. Type . /etc/profile.
Gentoo | Midnight Commander umlaut problem.
The Midnight Commander shows crap instead of umlaut characters? Command locale -a doesn’t print something like de_DE.UTF-8? There is no de_DE.UTF-8 locale! Solution: First add de_DE.UTF-8 UTF-8 to /etc/locale.gen. Then type locale-gen. Then do eselect locale list. This should now list the new added de_DE.utf8. Activate the new locale with eselect locale set NUMBER. Type […]
DEBIAN | setting locales | mc utf-8 problem
to work mc properly with ssh do dpkg-reconfigure locales remove utf-8 and add the plain version
Create QR code via shell script or via console converting content to utf-8
echo ‘eat my shörts!’ | iconv -f iso-8859-1 -t utf8 | qrencode -t PNG -o /PATH/TO/eat_my_shorts.qr.png