Questions tagged [encoding]

Encoding is changing a sequence of characters to symbols.

Filter by
Sorted by
Tagged with
0 votes
1 answer
34 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 ...
Viacheslav Hranchenko's user avatar
0 votes
0 answers
49 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 ...
Lorem ipsum's user avatar
0 votes
2 answers
517 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....
MeSo2's user avatar
  • 274
0 votes
0 answers
59 views

Server apache reverse does not encode coma in UTF-8

Server version: Apache/2.4.6 (CentOS) Server built: Nov 5 2018 01:47:09 centos-release-7-6.1810.2.el7.centos.x86_64 We are trying to solve a reverse problem and we need you help Reverse proxy Apache ...
Mina's user avatar
  • 1
2 votes
0 answers
613 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 ...
djvg's user avatar
  • 135
2 votes
0 answers
270 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 ...
Ed Sabol's user avatar
  • 121
0 votes
2 answers
414 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 ...
c0D3l0g1c's user avatar
  • 105
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 ...
Henry's user avatar
  • 171
1 vote
1 answer
218 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 ...
John Korchok's user avatar
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). ...
buhtz's user avatar
  • 117
0 votes
1 answer
206 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 ...
noway's user avatar
  • 1
5 votes
2 answers
5k 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 (...
Jules Kerssemakers's user avatar
0 votes
1 answer
162 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 ├─...
QB new media's user avatar
1 vote
1 answer
348 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�...
hummingbirdofwar's user avatar
5 votes
1 answer
7k 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 ...
Sandeep Koparde's user avatar
2 votes
1 answer
631 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 ...
David Kent's user avatar
3 votes
0 answers
454 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-...
Marki's user avatar
  • 2,854
4 votes
1 answer
5k 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 (...
Lebowski's user avatar
  • 141
1 vote
0 answers
187 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 ...
ramtech's user avatar
  • 133
1 vote
2 answers
3k 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). ...
elmo's user avatar
  • 55
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 ...
DB93's user avatar
  • 121
0 votes
1 answer
355 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 ...
Sebastian Seifert's user avatar
3 votes
0 answers
1k 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: ...
Yahvav's user avatar
  • 31
0 votes
0 answers
3k 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 ...
Vino's user avatar
  • 101
0 votes
1 answer
170 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 ...
user avatar
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" ...
Gert van den Berg's user avatar
3 votes
3 answers
27k 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 ...
Brent's user avatar
  • 181
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 / { ...
Klemart3D's user avatar
0 votes
1 answer
229 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 ...
Hlsg's user avatar
  • 113
3 votes
2 answers
3k 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 ...
Bill Huertas's user avatar
0 votes
0 answers
599 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 ...
Janak's user avatar
  • 113
1 vote
0 answers
389 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 ...
mmoossen's user avatar
  • 111
1 vote
1 answer
413 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....
Sergio Meneses's user avatar
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 ...
nagylzs's user avatar
  • 809
-1 votes
1 answer
931 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 ...
feetwet's user avatar
  • 109
-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 ...
Byakugan's user avatar
  • 141
2 votes
1 answer
943 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. ...
MirrorMirror's user avatar
4 votes
1 answer
420 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 ...
Mike B's user avatar
  • 12k
1 vote
0 answers
710 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 ...
hraphrap's user avatar
  • 237
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 ...
philipp's user avatar
  • 137
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 ...
cjparker's user avatar
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 ...
astef's user avatar
  • 161
1 vote
0 answers
927 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 ...
ductiletoaster's user avatar
2 votes
0 answers
177 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 ...
dstonek's user avatar
  • 233
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 ...
Vladimir Martsul's user avatar
0 votes
1 answer
452 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/...
kockiren's user avatar
  • 886
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 ...
Nagarz's user avatar
  • 61
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) ...
moonkey's user avatar
  • 113
0 votes
1 answer
62 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"\...
Nabil Sham's user avatar
1 vote
0 answers
125 views

Hyphen character encoded as “%2D” with IIS6

A customer has set up a website on a server IIS6. In older versions of Firefox, they have a problem with a URL containing a hyphen character. When they request http://www.example.es/mas-info they ...
kaiser1871's user avatar