Questions tagged [utf-8]
The utf-8 tag has no usage guidance.
14
questions
2
votes
1answer
128 views
Rsync keeps copying the same file
I have used rsync for many years between linux filesystems without any problem with a very deterministic behavior. Now I try to use it on mac and experience some problem that some files (a small ...
1
vote
0answers
42 views
Terminal MacOS emoji support
I was just wondering if anyone knows the emoji support that the Terminal.app has in MacOS? I'm using zsh, and I end up with this when I type it out, I get the following (note I didn't add a space ...
8
votes
1answer
2k views
What the difference and usage of encodings UTF-8 and UTF-8-MAC in iconv?
What the difference and usage of encodings UTF-8 and UTF-8-MAC in iconv?
I thought it was the difference between \n and \r(MAC OS 9) at first.
But I tried iconv -f UTF-8 -t UTF-8-MAC filename > ...
2
votes
1answer
145 views
About converting to UFT8 from a “Simplified Chinese” file having a “garbled” file name
I use Mac with English MacOS interface. I download a file from Chinese website(Simplified Chinese). It is garbled file name.
The garbled file name:
%E6%B9%96%E5%8D%97IPTV.apk
The real file name:
...
5
votes
2answers
322 views
What's the simplest way to process files with UTF-8 characters in groff on macOS?
I require Polish diacritics, such as ą, ć, ę, etc.
Of course, I can always pre-process the file to replace UTF-8 characters with escaped characters but that's not elegant.
1
vote
1answer
213 views
mount not working for utf-8
I've set the locale:
$locale
LANG="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_CTYPE="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
...
1
vote
0answers
103 views
UTF-8 glyphs are too small
I have been setting up my new terminal on both of my MacBooks Pro and I noticed that UTF-8 glyphs are way smaller on one of them. This holds true in every application and I can't find the setting that ...
2
votes
1answer
157 views
Can't open .html file with UTF-8
how could I change the file encoding using OS X? If I open a file on Windows Notepad I see all the symbols and everything is fine. If I open it using TextEdit or TextWrangler I see only question marks ...
0
votes
1answer
513 views
sshd not setting locale
Edit: I should have mentioned in my original question that I was using MacPorts SSH client, as it turned out there were two root causes. See my own answer below.
When I SSH into my OSX machine, it's ...
0
votes
2answers
481 views
Force open a file with the UTF-8 encoding
I have a file that contains text. The file is not a text file, it is a SQL file.
I want to open this file with the UTF-8 encoding in order to copy and paste the texts. So far, I'm trying to do it ...
0
votes
2answers
2k views
Recursively remove all invalid characters from text files in place
I have several thousand text files, some of which contain invalid UTF-8 characters. I want to recursively remove all invalid characters from these files in place.
I am aware that many similar ...
0
votes
1answer
497 views
automator and python script utf-8 output
I wrote a python shell script and it fails in automator workflow :
# -*- coding: utf-8 -*-
import urllib, json, os, datetime
import locale
locale.setlocale(locale.LC_ALL, 'fr_FR')
url = "http://...
3
votes
1answer
4k views
Special character codes are displayed in the Terminal for diacritics when connecting to an Ubuntu Server
When I connect to an Ubuntu Server (ssh) and I try to see some text in the Terminal form the remote server, I get character codes instead of the appropriate text with diacritics.
for example for a ...
1
vote
2answers
675 views
XQuartz, utf-8 and filenames
This is a question in the continuation of this one:
UTF8 filenames and shell utilities:
the nightmare of utf-8 and filenames is….
How to avoid this confusion with most notably the ls command on ...