Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [encoding]

Encoding is changing a sequence of characters to symbols.

-1
votes
0answers
13 views

Default Encoding was latin1

I setup a ubuntu server and missed the locale settings. I changed it to utf-8 but are unsure, if there are some implications. I found a corrupted text file I created with vim while the locale still ...
2
votes
1answer
83 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 (...
0
votes
0answers
20 views

Screen terminal replaces some characters with question marks? (ä ö ü ß § °)

I know if this is important, but I'm running a Minecraft server in a screen on my VPS. Everthing was working just fine two days ago, but then I resetted my machine yesterday (same OS as before, Ubuntu ...
0
votes
0answers
27 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 ...
0
votes
0answers
115 views

Received POST request has keys and values with unknow encoding

My PHP server is receiving strang post requests, I tried to detect the encoding type with no success. but the affected users are all mobile users. I printed the post value into log with var export ...
1
vote
1answer
459 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
1answer
529 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
1answer
55 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 ...
2
votes
0answers
428 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: ...
0
votes
0answers
958 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
1answer
54 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
1answer
331 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" header: From: =?iso-...
0
votes
1answer
7k 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
1answer
389 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
1answer
80 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
2answers
1k 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
0answers
205 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
0answers
140 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
1answer
231 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
1answer
634 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
0answers
646 views

How to change Azure web app URL encoding?

We have moved a DNN site from on-premises to Azure. Everything seemed to work fine until we tried to access a page with Swedish letters (åäö). The Azure Web App is using Windows-1252 to rewrite the ...
-1
votes
1answer
344 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
2answers
553 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
0answers
378 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
1answer
250 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
0answers
247 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
1answer
817 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
1answer
64 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 ...
2
votes
1answer
930 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
0answers
477 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
0answers
119 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 ...
1
vote
0answers
760 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
1answer
166 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/...
5
votes
0answers
3k 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
1answer
1k 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
1answer
50 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"\...
1
vote
0answers
86 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 ...
1
vote
1answer
112 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 ...
1
vote
1answer
2k 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 ...
1
vote
1answer
1k 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 ...
0
votes
0answers
115 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 ...
1
vote
0answers
74 views

Non-ASCII filenames are being broken in Jira on Debian

I have an old Jira 3.12 installed on Linux (Debian, 6.0.4). The encoding in OS is setup to UTF-8. My problem: if somebody adds an attachment with non-ASCII symbols in its filename, it is created ...
0
votes
1answer
258 views

Change default encoding order in locale -a

My ubuntu server output the following after a locale -a : C C.UTF-8 POSIX fr_FR.utf8 if i input export LANG=fr_FR.UTF-8,it changes a little bit : C C.UTF-8 fr_FR.utf8 POSIX Main difference is that ...
4
votes
1answer
2k views

Is there a difference between en_US.utf8 and en_US.UTF-8?

Server info (DNS and IPs removed): cat /proc/version && uname -a && java -version Linux version 2.6.16.33-xenU (*************) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) #2 SMP ...
1
vote
2answers
390 views

Invalid character under centOS - in a config file edited under windows

edit: it was a syntax error - the IP is not supposed to be in this line. so nothing to do with encoding. Startup error: Error in "108.174.194.111 mta10.domain.com": invalid character (' ', 0x20) in ...
0
votes
1answer
788 views

Tomcat localhost_access_log.txt encoding

I run my web-app in Tomcat 7 and in the localhost_access_log.txt file I have the following lines 0:0:0:0:0:0:0:1 - - [25/Jun/2014:10:22:26 +0300] " Ì Èc£Ï!#ò2Tç¡$EI «àµ«]ëñʯ¯Ù (ÌÌÀ+À/ À " 400 - 0:...
1
vote
1answer
338 views

How to import MySQL dump which is encoded with quoted printable?

I got a MySQL DDL file ddl.sql which I would like to import. It starts like this: --=20MySQL=20dump=2010.11=0A--=0A--=20Host:=20localhost=20=20=20=20= Database:=20ww=0A--=20= -------------------------...
0
votes
1answer
386 views

Apache mod_wl encoding issue for URI part

I'm using Apache2 in combination with mod_wl_20.so to loadbalance to 2 weblogic instances. Apache is listening on 7070. This plugin is partialy removing the encoding of my URI of some searches which ...
1
vote
0answers
96 views

Cannot enter “Umlaute” on php console

I do have a problem with german "umlaute" on the console. Whereas I have no problem entering them on the bash console, it is a problem on the php console PHP is all set to UTF-8 iconv.input_encoding ...
9
votes
2answers
18k views

How do I set proper Headers for JSON in Apache?

I have an Apache server which is serving out static JSON files. The Content Type is correctly being represented in the header with an Content-Type: application/json header. How do I add the correct ...