Questions tagged [encoding]

Encoding is changing a sequence of characters to symbols.

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

How to set encoding in editor joe based on file type [migrated]

I want Java properties files (*.properties) to be opened in ISO8859-1 encoding on my otherwise UTF-8 using linux. Found the ftype.rc, but cannot found out how to configure it.
user avatar
  • 825
2 votes
0 answers
33 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 ...
user avatar
  • 121
0 votes
2 answers
106 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 ...
user avatar
  • 105
7 votes
2 answers
1k 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 ...
user avatar
  • 171
1 vote
1 answer
78 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 ...
user avatar
1 vote
1 answer
964 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). ...
user avatar
  • 117
0 votes
1 answer
116 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 ...
user avatar
  • 1
5 votes
2 answers
2k 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 (...
user avatar
0 votes
1 answer
76 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 ├─...
user avatar
1 vote
1 answer
127 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�...
user avatar
4 votes
1 answer
4k 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 ...
user avatar
2 votes
1 answer
415 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 ...
user avatar
2 votes
0 answers
161 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-...
user avatar
  • 2,795
3 votes
1 answer
3k 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 (...
user avatar
  • 131
1 vote
0 answers
140 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 ...
user avatar
  • 133
1 vote
2 answers
2k 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). ...
user avatar
  • 55
2 votes
1 answer
1k 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 ...
user avatar
  • 121
0 votes
1 answer
259 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 ...
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: ...
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 ...
user avatar
  • 101
0 votes
1 answer
84 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
853 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" ...
user avatar
1 vote
2 answers
20k 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 ...
user avatar
  • 130
0 votes
1 answer
884 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 / { ...
user avatar
0 votes
1 answer
160 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 ...
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 ...
user avatar
0 votes
0 answers
462 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 ...
user avatar
  • 113
1 vote
0 answers
337 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 ...
user avatar
  • 111
1 vote
1 answer
344 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....
user avatar
1 vote
1 answer
957 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 ...
user avatar
  • 657
-1 votes
1 answer
634 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 ...
user avatar
  • 109
-3 votes
2 answers
967 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 ...
user avatar
  • 141
2 votes
1 answer
741 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. ...
user avatar
4 votes
1 answer
316 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 ...
user avatar
  • 11.4k
1 vote
0 answers
657 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 ...
user avatar
  • 237
0 votes
1 answer
1k 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 ...
user avatar
  • 127
0 votes
1 answer
74 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 ...
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 ...
user avatar
  • 161
1 vote
0 answers
704 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 ...
user avatar
2 votes
0 answers
160 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 ...
user avatar
  • 223
1 vote
0 answers
935 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 ...
user avatar
0 votes
1 answer
372 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/...
user avatar
  • 886
6 votes
0 answers
5k 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 ...
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) ...
user avatar
  • 113
0 votes
1 answer
56 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@mail.com This works while: echo -e 'From: "Tester"\...
user avatar
1 vote
0 answers
110 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 ...
user avatar
1 vote
1 answer
135 views

xdg-open uses wrong character encoding on LTSP

I'm trying to open files in a local application on an LTSP system. But if the path name contains accented characters, like é, it can not be opened because the URI seems to be encoded wrong. The ...
user avatar
  • 111
1 vote
1 answer
3k views

How do you prevent mod_rewrite from decoding a string in the path? [duplicate]

I'm trying to create a restful API using mod_rewrite. I have the rule: RewriteRule v2/(.*)$ v1/index.php?request=$1 [QSA,NC,L] However the path could contain base64 encoded strings (i.e. can have ...
user avatar
  • 659
2 votes
1 answer
2k views

utf-8 filename are ruined when uploading through IIS

When I upload files with UFT-8 file name through IIS on my Windows Server file names are ruined. (They are changed as if they are encoded in ASCII and therefore they are no more accessible). I Wonder ...
user avatar
0 votes
0 answers
140 views

MySQL latin1 only for single PHP vhost

I have no control over the PHP application, but I have on Apache. I know how to set php_value for a particular vhost. I need to tell that vhost to use latin1 character set when connecting to MySQL ...
user avatar