Questions tagged [encoding]
Encoding is changing a sequence of characters to symbols.
153 questions
Score of 0
0 answers
594 views
How to set a specific codepage for a non-Unicode app that is not a console app
I have an application that needs the codepage changed to ISO 8859-15.
Changing the codepage at the command prompt with chcp works and text is read correctly.
However the application in question is not ...
Score of 1
0 answers
117 views
Nasty character encoding issue
I have been using a FOSS software written in perl (sql-ledger) for many many years. Currently self hosted on CentOS 7. For some reasons, I need to update OS to a higher version (preferably Rocky/Alma ...
Score of 0
1 answer
95 views
Why does mailman replace non-Latin letters with crooked ones?
The essence of the problem is that when sending an html letter with formatted text inserted from another source containing non-Latin letters (for example, copied text from a web page in Polish), the ...
Score of 0
1 answer
340 views
Mails invalid signature because of encoding of periods in quoted printable
I‘m sending a mail encoded with quoted printable encoding that contains some dots .. There is a problem with a specific mailserver/customer. For some reason, they receive the mail in such a form that ...
Score of 0
2 answers
1525 views
getting error Content Encoding Error (ERR_CONTENT_DECODING_FAILED) with Apache served pre-compressed .br (Brotli) files
How can I get Apache to serve pre-compresses Brotli files?
With Chrome I am getting
net::ERR_CONTENT_DECODING_FAILED 200
I made my pre-compressed .br (Brotli) files from minimized .html files (.min....
Score of 2
0 answers
758 views
Are servers allowed to add a Content-Encoding header based on filename, if there is no compression on-the-fly?
Problem
Suppose we have a compressed archive on disk, e.g. file.tar.gz, which should be served as-is.
The file is served with Content-Type: application/gzip, but for some reason the server also adds a ...
Score of 2
0 answers
443 views
Conditional directives based on User-Agent with Apache 2.2.x?
I want to implement something like the following in our Apache httpd configuration:
<If "%{HTTP_USER_AGENT} !~ /something/">
RemoveEncoding .gz .tgz
AddType ...
Score of 0
2 answers
729 views
Ubuntu configure Postfix mail server encoding to support IDN (internationalized domain names)
To my understanding the default mail server on Ubuntu is Postfix.
I have Virtualmin and Webmin installed on my Ubuntu installation. I'm trying to figure out where to configure encoding for sending and ...
Score of 7
2 answers
1949 views
Base64 encoded MX records in TXT records
A lot of domains hosted by Namecheap contain strange DNS TXT records that appear to be base64 encoded, that when decoded look like a weird kind of MX record - having the structure of both a priority ...
Score of 1
1 answer
334 views
Encoding error on just one server
I run several servers, one for development, one for client testing and another for production. I have a character encoding issue (the old "question marks in diamonds" appearing instead of ...
Score of 1
1 answer
3598 views
Unicode-like encoding for filenames using Windows10-NFS-client and Linux-NFS-server
Problem
The NFS-Client of Windows10 Pro mount an NFS-share with lang=ansi by default. This causing problems using filenames with umlauts or asian characters (e.g. Kanji, Hiragana, Katakana, etc).
...
Score of 0
1 answer
253 views
Convert MacCyrillic encoding in filenames to IBM866 on NTFS filesystem
After copying files from MacOS system to Windows share through samba, I got filenames like:
Сђ•вл
К†в†ЂЃ¶≠л• Ђ®бвл.pdf
П†бѓЃав.doc
And normally they should look like:
Сметы
Каталожные листы.pdf
...
Score of 5
2 answers
6868 views
Syntax for apache RewriteRule to match %-encoded URLs? (to fix character encoding issues; windows-1252 <=> utf-8 )
I host a webpage that has 'project²' in the URL, matching an on-disk directory project² from where static files are hosted.
This page is used by a java-based client to load data from URLs (...
Score of 0
1 answer
282 views
List all files with corrupt filenames recursively
I've got a Linux server with some directories and files structure on it. Apparently somehow someone uploaded a bunch of filenames, which got corrupted. Consider the following example:
└── parent
├─...
Score of 1
1 answer
544 views
Rename file with invalide filename
I have a buch of files on a Linux machine that are using invalid filenames.
I tried using the "detox" ultility, as well as convmv and recode, but they keep failing with the error
recode: fopen (Entw�...