Questions tagged [utf-8]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
36 views

Mojave Mac OS dictionary app shows some Hangul characters as blanks

This screenshot shows what happens when I look up the Korean dictionary inside my Mac OS's default Dictionary app. Apparently some characters are missing and are substituted with empty squares. ...
2
votes
1answer
58 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
110 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
183 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
88 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
118 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
382 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
450 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
448 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
572 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 ...