Questions tagged [encoding]

Encoding is changing a sequence of characters to symbols.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 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
votes
0answers
11 views

How do I stop “iconv_strlen(): Wrong charset” errors in a third-party PHP library from being logged? [closed]

MailMimeParser, some e-mail parsing PHP library I'm forced to use, uses MbWrapper.php. This results in occasional errors such as this being logged when broken spam e-mails arrive to my system: ...
0
votes
0answers
14 views

SMB server character encoding

I have Samba running on Synology NAS server and files and folders that contain unusual (Polish) characters are incorrectly displayed in Windows Explorer after mapping the disk. Is there any way to fix ...
1
vote
1answer
28 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�...
1
vote
1answer
283 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
1answer
167 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 ...
2
votes
0answers
33 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-Control: no-cache\r\...
2
votes
1answer
2k 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
0answers
64 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
1answer
1k 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
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 ...
0
votes
1answer
178 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
0answers
667 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
2k 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
61 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
580 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-...
1
vote
2answers
12k 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
576 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
102 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
2k 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
348 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
208 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
268 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
785 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
1answer
512 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
762 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
548 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
286 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
482 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
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 ...
0
votes
1answer
70 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
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
0answers
616 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
144 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
845 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
198 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
51 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
103 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
125 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
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 ...
2
votes
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
128 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
77 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
270 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
422 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
906 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
351 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= -------------------------...