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 [utf-8]

UTF-8 is a multibyte character encoding of the Unicode character set, made up of one or more bytes. Unlike some other encodings such as UTF-16, the UTF-8 encoding is upward compatible with 7-bit ASCII characters, and can be processed to some degree by applications that are only aware of bytes.

0
votes
0answers
33 views

Support for extended ASCII characters in rsyslog

My rsyslog server is not able to correctly decode messages containing extended ASCII characters such as some french letters; e.g. é, ç. I have done a lot of search in google and tried many things but ...
0
votes
0answers
34 views

Nginx to immediately drop connection if request contains UTF?

I run some web application behind nginx under heavy load. This application doesn't accept requests containing UTF characters. I want to somehow protect it from unwanted HTTP traffic. How can I do that?...
0
votes
1answer
57 views

Domino Server Incoming Mail Mime Encoding

I recently installed FP10 to the Domino 9 server and made changes to http.cnf to AddType image/svg+xml .svg I am not running IHS. Incoming mail however now has encoded Subject: =?UTF-8?Q?...
0
votes
0answers
46 views

url with hebrew chars returns giberish (404) from apache

moving wordpress site with wpml template to a new server when I click on a url that contians hebrew letters I get this results form apache (the url at the new page is correct and display the right ...
2
votes
0answers
334 views

Postfix, virtual aliases and UTF8

The Postfix documentation reads By default, Postfix sets the "SMTPUTF8 requested" flag only on address verification probes and on Postfix sendmail submissions that contain UTF-8 in the sender ...
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 ...
1
vote
2answers
388 views

How apache can serve files with utf-8 chars?

From the browser I'm trying to access file https://example.com/86/86454cff-556a-4162-aa65-433158c133f4/Informacja+kwartalna++III+kwartał+2016+r. and I'm getting 404 error. When I check filesystem the ...
0
votes
0answers
112 views

Reverse proxy to force UTF8 requests upstream

I'm trying to debug a problem to a web application that I didn't write and that I cannot alter, that seems to have serious encoding problems whenever it receives requests not in UTF8. Now, to prove ...
0
votes
0answers
317 views

IIS 6.0 UTF8 support for local email robért@domain.com

IIS 6.0 UTF8 support for local email robért@domain.com 2 hours, 38 minutes ago|LINK Is there anyway for IIS 6.0 to handle the local part of the email with UTF-8 Characters - robért@domain.com I have ...
2
votes
2answers
669 views

htaccess redirect changes encoding of HTML response

I've set Apache 2.4 server to AddDefaultCharset utf-8 in httpd.conf and my .htaccess file redirects all non-www and http to https://www.example.com RewriteEngine On RewriteCond %{HTTP_HOST} ^example\....
0
votes
1answer
457 views

Setting locale permanently fails on VPS machine Ubuntu server 16.04

I tried everything that I could find, including dpkg-reconfigure locale, reinstalling packages completely, adding LC_ALL and other settings to etc/environment, tried adding to /etc/locale.conf , to ....
2
votes
0answers
402 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. ...
7
votes
0answers
663 views

How to re-compile iconv on Linux (Ubuntu 14.04 LTS) with pseudo-charset UTF8-MAC?

I was googling around for hours to find a solution for my problem and I couldn't get it to work: I have to rsync a file structure on an ext4 formatted drive to a hfs+ formatted drive. Folders and ...
0
votes
1answer
316 views

knife ignores client_key in ~/.chef/knife.rb

I am getting errors like WARN: Failed to read the private key /etc/chef/client.pem: #<Errno::ENOENT: No such file or directory @ rb_sysopen - /etc/chef/client.pem> ERROR: Your private key could ...
1
vote
0answers
186 views

Exim mainlog character encoding

In my exim4 installation I keep getting both UTF-8 encoded and extended ANSI encoded mainlog containing strings like "tämä" (correctly in UTF-8) and "t\xe4\m\xe4" (ANSI). The latter escaped markings ...
0
votes
1answer
53 views

German Umlauts (but only uppercase) are broken

I have a proxmox3 server. I login via SSH. Umlauts (öäüÜÖÄ) works well - nevertheless if upper or lowercase. Then I login in my openvz node (debian wheezy) via: vzctl enter 100 In this node, on ...
1
vote
2answers
1k views

Handle UTF-8 files names in Centos 7 & Apache 2.4

My images whose names contain accented letters (é, à etc.) are not accessible via Apache (404 error). I think it's not related to Apache. I checked the configuration file: AddDefaultCharset UTF-8 ...
1
vote
0answers
217 views

LDAP at IBM XIV

I have problem with authenticating users over LDAP (Active Directory) Windows 2008 R2 on IBM XIV. After troubleshooting I've find out problems caused by polish letters in CommonName (...
0
votes
1answer
156 views

Special chars not displayed correctly

I have problem when I copy file from Server A (Debian 7.4) to Server B (Debian 7.4). Polish special characters in files are not displayed correctly on Server B (in mcedit). I created file with polish ...
1
vote
0answers
767 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 ...
1
vote
1answer
2k views

Rewriting ASCII-percent-encoded locations to their UTF-8 encoded equivalent

For example, “å” can be encoded as /%E5 and /%C3%A5 (utf-8). All my filenames are UTF-8, so the ASCII variants return a 404. I want both variants to work. I have tried rewriting the incorrect URLs to ...
0
votes
1answer
109 views

cygwin find -ls behaviour like ls [closed]

I use cygwin find with -ls (find . -ls) option to have a list of files with full path. Due to UTF-16 (windows XP in this case) converted to en_UTF-8 under cygwin, special charactere like accent are ...
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 ...
5
votes
2answers
2k views

Mount unix samba 4 share to osx client without mangled file names

I have a unix server (arch linux) with samba 4.1.12. The share has files inside it with utf-8 nfc encoding (standard utf-8). When I mount this samba share into an osx client (10.9.5), files with ...
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
0answers
712 views

How to create a new MYSQL charset?

I am trying to configure roundcube webmail and I get the error "Can't initialize character set utf8 (path: /usr/share/mysql/charsets/))" I fixed this before on my website by adding ;charset=UTF-...
1
vote
0answers
128 views

CygWin SSHD and UTF-8 BOM

The CygWin ssh server configuration file "config_sshd" seems to need to be written minus a byte order marker. The server will accept UTF-8 but obviously becomes confused if it sees what it thinks is ...
0
votes
1answer
457 views

UTF-8 encoding gone missing after enabling mysqlnd

I've enabled mysqlnd on my PHP 5.4.26 server using MariaDB 10.0.8. My SQL config contained this: [mysqlnd] character-set-server = utf8 collation-server = utf8_general_ci It was all working fine ...
0
votes
1answer
508 views

HTTP proxy to deal with different encoding [closed]

I am working on a web crawler, so I parse HTML pages. My problem is sometime the page encoding is not UTF8 (ISO, exotic Windows[0-9] etc..) and my analyser failled. I tried many solution in PHP/Java/...
8
votes
1answer
1k views

Is the Ext3 filename limited to 255 symbols or 255 bytes?

I cannot save the file with the name containing more than 127 Cyrillic UTF-8 symbols on my Ext3 filesystem. It is possible so save the files containing up to 255 English UTF-8 symbols though. So is ...
0
votes
1answer
634 views

Error in a collation for german characters

I would like to use the collation utf8_german2_ci in my linux server. The problem is that I want to use this character ß which is not supported in other collation I think. So I get this error ERROR ...
0
votes
2answers
3k views

Setting locale in Ubuntu 12.04 (openvz)

I have a fresh installation of Ubuntu 12.04 as virtual openVZ guest. The defined locale for LC_* in basic setup is POSIX. I'd like to change this to en_US.UTF-8. So I installed language_pack_en_base ...
2
votes
2answers
2k views

URL Encoding force UTF-8 in CentOS 6.4

I have a simple html website in a CentOS 6.4 server. In every html page i have set <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> I have already added in a .htaccess ...
1
vote
0answers
240 views

iis 7.5 wont serve up korean characters in my classic asp application

I have a classic ASP website hosted in IIS 7.5 - using a classic application pool pipeline. I have all my .Net Globalization settings set to UTF-8 encoding. However when my site outputs Korean ...
4
votes
3answers
463 views

How to forbid non-UTF-8 filenames?

Is it possible to enforce, at filesystem level, that all created file entries will have valid UTF-8 names? I am using Btrfs.
-1
votes
1answer
565 views

filenames, ASCII unicode escaped sequences to UTF8 [closed]

I'm not sure if I've grasped the issue here so if I haven't just say so and I'll edit the title. My problem is the following: I have an Ubuntu 12.04 server (UTF-8 locale) to which users upload files ...
2
votes
3answers
2k views

Apache2: Problems matching accented characters in query string using RewriteCond & RewriteRule

Working on a site where the plan is to move URLs from a query string format to a number based format. Lots of URLs exist that have unescaped accented & similar UTF8 characters in them. The ...
1
vote
1answer
88 views

Is writing/reading speed affected by the name of the files?

How can I find out, or does anybody know, if is faster storing/reading a file with Spanish/Greek/Cyrilic/etc... characters like mi-foto-españa-oíóáaç.jpg than mi-foto-espana-oioaac.jpg ?
5
votes
2answers
4k views

Are there any SMTP servers that support the SMTPUTF8 extension? [closed]

RFC 5321 limits email addresses to 7 bit US-ASCII encoding. RFC 6531 (a fairly new spec) allows email addresses in SMTP commands and IMF headers to be encoded in UTF-8. This SMTP extension makes ...
0
votes
1answer
1k views

Do SMTP servers implement 8BITMIME with anything other than UTF-8?

RFC 5321 specifies that the body of an email be encoded as 7 bit, US-ASCII. The 8BITMIME extension allow the body to be encoded as 8 bit. An SMTP server can advertise that it supports 8BITMIME in ...
0
votes
1answer
2k views

MySQl: Specified key too long ..max is 1000 bytes?

I'm trying to create a table in MySQL with the statement: CREATE TABLE tags (Tag VARCHAR(200) NOT NULL default '', Login VARCHAR(255) NOT NULL default '', PRIMARY KEY (Tag, Login)) ENGINE=MyISAM; ...
7
votes
2answers
21k views

Linux not interpreting UTF8 encoded characters

So, having the following file Adán-y-Eva-50x50.jpg when I try to access it, apache translates it to Ad\xc3\xa1n-y-Eva-50x50.jpg and won't find it, even though it exists. This happens only for ...
2
votes
1answer
975 views

Can not input or print Chinese on PuTTY

On Red Hat Enterprise Linux AS release 3, I've set my environment variable as below $ echo $LANG zh_CN.UTF-8 $ echo $LANGUAGE zh_CN.UTF-8 $ echo $SUPPORTED en_US.UTF-8:en_US:en:zh_CN.UTF-8 $ ...
0
votes
2answers
1k views

Force .js files saved in ANSI encoding to show in UTF-8 on IIS 7.5

I'm migrating a web system that now works on windows server 2003 IIS 6, to IIS 7.5 on windows 2008 server This system generates javascript files with accented characters in ANSI (Portuguese - Brazil). ...
2
votes
1answer
712 views

Utf-8 encoding for PHP-scripts creates “headers already sent”

If I upload php files that are encoded in UTF-8, instead of ANSI, it creates problems with "headers already sent" on the server. vi shows {feff} at the start and nano does not show the \ at the ...
0
votes
2answers
403 views

Why doesn't Firefox render this AWstats generated html?

XML Parsing Error: not well-formed Location: https://awstats.example.org/reports/www.example.org/2011/06/awstats.www.example.org.xml Line Number 603, Column 34: <tr><td class="aws">-...
27
votes
5answers
13k views

How to make the 'less' command handle UTF-8?

On my Mac terminal, printing UTF-8 works in general, but the less doesn't work correctly. So this works correctly: $ echo -e '\xe2\x82\xac' € but piping it into less gives something like this: ...
4
votes
1answer
901 views

Broken characters in filenames only in some directories

We have a web server running CentOS 5.8 that uses SVN for version control. When trying to switch to the latest revision, we got an error about the filenames of files in an upload directory: svn: ...
22
votes
5answers
13k views

Converting UTF-8 NFD filenames to UTF-8 NFC, in either rsync or afpd

I have a home file server running FreeNAS 8. A few days ago I used rsync to upload my entire iTunes library from Mac so that I could load my library over the network instead of off a slow USB drive. ...
2
votes
2answers
1k views

`less` not able to display special characters

I stumbled upon bad special characters in some manpages: If your terminal is a "true" auto-margin terminal (it doesn▒<80><99>t allow the last position on the screen to be updated ...