Questions tagged [encoding]
Encoding is changing a sequence of characters to symbols.
153
questions
0
votes
0
answers
44
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 ...
1
vote
0
answers
59
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 ...
0
votes
1
answer
38
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 ...
0
votes
0
answers
126
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 ...
0
votes
2
answers
904
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....
2
votes
0
answers
669
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 ...
2
votes
0
answers
311
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 ...
0
votes
2
answers
505
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 ...
7
votes
2
answers
2k
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 ...
1
vote
1
answer
253
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 ...
1
vote
1
answer
3k
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).
...
0
votes
1
answer
212
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
...
5
votes
2
answers
6k
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 (...
0
votes
1
answer
190
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
├─...
1
vote
1
answer
429
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�...
6
votes
1
answer
8k
views
How to pass Question Mark (?) in password for HTTP Basic Authentication in URL parameters?
I am automating a website which requires HTTP Basic Authentication.
The suggestions given in this link work like a charm in most cases:
Can you pass user/pass for HTTP Basic Authentication in URL ...
2
votes
1
answer
657
views
Exchange 2016 mail flow rule sending email but, ???question marks appear instead of arabic
I have added a rule to block users from sending mail to any outside mail service like Outlook, Gmail,Yahoo, etc.
The rule I applied sends an email to the sender, notifying that mail cannot be sent ...
3
votes
0
answers
499
views
Encoding of username:password in Proxy-Authorize HTTP header
We use an explicit proxy to access the Internet.
This is what the HTTP header for "407 Proxy-Authentication required" looks like:
Proxy-Authenticate: BASIC realm="xxx"\r\n
Cache-...
4
votes
1
answer
6k
views
Encoding issue between NFSv3 and NFSv4
We have some issues regarding NFS share regarding filenames encoding.
We were previously mounting as NFSv3 and started to use NFSv4 and some files previously created, with special characters (...
1
vote
0
answers
210
views
Is there any IETF / RFC standard defined for hosts file encoding?
While going through the accepted answer for hosts file ignored, how to troubleshoot?, I observed the statement "The hosts file should encoded in ANSI or UTF-8 without BOM". As I personally faced ...
1
vote
2
answers
4k
views
HAProxy encode url for querystring
I have a system that needs to preserve the original referer over multiple redirects. To achieve this I'm trying to write the referer to the URL query string.
I already got that working (somewhat).
...
2
votes
1
answer
2k
views
Character encoding on Windows Server 2008 R2
I have a problem with filenames on my Windows Server 2008 R2 machine. The files get uploaded by a webserver that runs Linux, on that machine there is a mount to our windows machine. When we upload ...
0
votes
1
answer
382
views
POP3 username including special characters
I need to access an Mailbox in Exchange Server 2016 via POP3. Unfortunately the username contains German special characters like 'ä' or 'ß'. POP3 service just gives an -ERR Protocol error. 17.
Is ...
3
votes
0
answers
2k
views
Can't use Intel Quicksync(headless) for transcoding
/dev/dri and /usr/lib/dri doesn't exist.
vainfo returns:
error: can't connect to X server!
error: failed to initialize display
Aborted
lspci | grep VGA returns:
00:02.0 VGA compatible controller: ...
1
vote
0
answers
4k
views
Firewall blocking data transmitted through Python socket
I have an application written in Python 3 which communicates with an external SIP proxy server through its public IP. Basically the application I wrote sends out a SIP invite to the SIP proxy through ...
0
votes
1
answer
191
views
How can I rescue broken filenames?
Apparently, someone didn't pay attention to the encoding when moving files from one server to another and I ended up with filenames containing German umlauts that appear as question mark in ls when ...
0
votes
1
answer
1k
views
Special characters in mail (address) headers and RFC2047 encoding
I have some unexpected handling of RFC2047 "From" headers on Exim.
(Actual addresses have been changed, the original display name contained non-ASCII characters)
For this "From" ...
3
votes
3
answers
29k
views
How do I configure UTF-8 Content-Type header in Apache?
My website has pages and other content with UTF-8 encoding. For HTML, setting the encoding in a meta tag is no problem. However, I also have raw text files with UTF-8 encoding that aren't displayed ...
0
votes
1
answer
1k
views
Nginx "auth_basic" string encoding
What is the right encoding/charset in nginx configuration file to display accentuated characters in HTTP authentication message ?
For example, this conf file :
server {
...
location / {
...
0
votes
1
answer
237
views
Migrating from LiteSpeed to Apache special characters in image names 404
On my host running LiteSpeed, images with special characters in filenames like "é" work just fine.
When i migrate the site to my local development stacks, be them WAMP clones or even a Vagrant VM on ...
3
votes
2
answers
4k
views
UTF-8 Characters in Apache Access Log ✔
The issue
I'm using PHP's apache_note() to log variables from web requests to a CustomLog format. However, try as I might, Apache doesn't want to log UTF-8 characters the way I'd like.
In PHP, I ...
0
votes
0
answers
644
views
Nginx $ssl_client_raw_cert pem encoding
In nginx when using the $ssl_client_raw_cert to get the cert as a pem in the header; is it just the encoded cert or is it in the following format?
-----BEGIN CERTIFICATE -----
Encoded Cert
...
1
vote
0
answers
394
views
Is there any way to tell the Puppet augeas resource which encoding to use?
i am new to augeas, and i am getting plenty of errors like:
Could not evaluate: invalid byte sequence in UTF-8
in special i expect augeas to honor the encoding declaration in a XML-file
<?xml ...
1
vote
1
answer
422
views
Apache serve files with different URL encode
I got an error when i try to load a file image on my staging server, it seems is about encoding.
When i access to the following URL:
http://example.com/sites/default/files/2016-12/Articulaci%C3%B3n....
1
vote
1
answer
1k
views
FreeBSD 10.3 + zfs - character set incorrectly displayed in terminal
I have a server with a samba share on zfs filesystem. Filenames are in hungarian. When I login with ssh, then the file names are diplayed incorrectly in the terminal:
If I do an auto complete on the ...
-1
votes
1
answer
993
views
IIS 6 ASP encoding setting
I migrated an ASP site from a Win2008R2 server running IIS 6.1 to a Win2012 server running IIS 6.1. The IIS site settings did not migrate so easily.
One thing I just can't solve: When I send Arabic ...
-3
votes
2
answers
1k
views
How to deal with bash errors when trying to run it?
Imagine a script which has standard bash linux scripting (running on SUSE linux). Like this:
#!/bin/bash
#version=1.0
#Some other text
command
#-------Comment
Changeversion=2.0
...
...
Is there any ...
2
votes
1
answer
985
views
PHP: No mapping for the Unicode character..., for specific greek characters
I have a windows IIS server working with PHP. The user inserts a word via an HTML form, it goes to PHP and then PHP calls a COM dll (vb6) function passing the word to the function as a utf8 string.
...
4
votes
1
answer
439
views
Is there a way to "replay" a packet capture of a smtp session for the purpose of debugging?
I'm troubleshooting a smtp issue involving character-set encoding and it's extremely difficult to involve the end user. I have a packet capture of an incoming smtp session that results in problematic ...
1
vote
0
answers
715
views
MySQL's console client does not display non-latin symbols
I have installed mysql 5.6 on debian 7.10 from official mysql deb repository:
deb http://repo.mysql.com/apt/debian/ wheezy mysql-5.6
So i have these packages installed:
# dpkg -l | grep mysql | awk ...
0
votes
1
answer
2k
views
URL encoded URIs with umlauts not working on other Server
we are about to move our companies Website (Drupal 7) from the old Server A to the new Server B. As usual we ex-/imported the database and copied all the files via ftp.
Since our company resides in ...
0
votes
1
answer
75
views
Azure Media Services encode CCTV media
We are building a solution in Azure that will allow users to upload CCTV media content to our site. This media will then hopefully be encoded by Media Services but I have not found a solid list of ...
3
votes
1
answer
1k
views
Application localization problems in english windows server 2012
Here's what does it look like (encoding problems):
OS is Windows Server 2012, English, clean installation.
Previously I've tested this software with same server, but with
russian OS version, it was ...
1
vote
0
answers
953
views
Nginx decoding ampersand
We have canonical style URLs that we use for FB sharing. Facebook can scrape these pages for the info it needs to... these pages generate a specialized image to be shared by the user.
A user can ...
2
votes
0
answers
180
views
Squirrelmail, encode changes when replying emails
SM version 1.4.22 Centos 6.7 PHP 5.3.3 Apache 2.2.15 Plugins:
filters
delete_move_next
message_details
newmail
translate
squirrelspell
set_user_data
last versions Postfix 2.6.6, Dovecot 2.0.9 ...
2
votes
0
answers
1k
views
How to pass raw Ansible params to Windows cmd without any encoding/decoding?
I'm trying to set permissions to some windows directory like this
# ansible example.com -m raw -a 'icacls D:\somedir\ /grant "! ЗАО. Руководство":F' -vvvvv
and get windows error about invalid ...
0
votes
1
answer
465
views
How to find difference in sending passwords to ProFTPD
There is a CentOS Server with proftpd installed, that works for a long time. Now I create a user the right way as the last time and check it with ftp command on windows CMD and it works.
/etc/...
6
votes
0
answers
6k
views
Wrong filename encoding/decoding when downloading recursively with wget
I'm downloading files from a remote directory recursively using wget and whoever created the folders and files, used special characters such as è or Ó, when I download a single specificating the full ...
1
vote
1
answer
2k
views
gunicorn behave differently when run from terminal and by service
I am using nginx+gunicorn+django for my website.
The following is my gunicorn.conf file:
description "Gunicorn daemon for Django project"
start on (local-filesystems and net-device-up IFACE=eth0)
...
0
votes
1
answer
63
views
Find difference in file encoding
I am sending email from the cmd with msmtp for that I do
cat > test1 << EOF
>From: "Tester"
>test
>EOF
cat test1 | msmtp [email protected]
This works while:
echo -e 'From: "Tester"\...