Questions tagged [charset]

Character sets are used to represent a repertoire of characters by some kind of encoding system, such as US-ASCII, ISO-8859, or UTF-8.

Filter by
Sorted by
Tagged with
-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
11 views

What can I do about MailMimeParser getting this “conversion from `KOI8' to `UCS-4LE' is not allowed” error?

I use MailMimeParser to parse all incoming e-mails. I thought I had, after years of being annoyed by logged errors related to wrongly encoded e-mails, finally achieved a "perfectly solid" application ...
0
votes
1answer
6 views

gmail compose adds non-visible extra characters

I have this code that works as expected in chrome browser window. This is Amazon Web Services create table statement in Athena. CREATE EXTERNAL TABLE IF NOT EXISTS default.sh_code ( `shcode` string,...
1
vote
0answers
64 views

nginx reverse-proxy utf-8 not working?

I've installed Gitea on a Debian server and I'm using nginx as a reverse proxy and for the SSL setup. When I visit my Gitea instance, some characters aren't displayed correctly. That are for example ...
0
votes
0answers
15 views

How can I find the charset an executable was built with on Windows?

I need to see the supported charset of a particular executable in Windows (in other words I need to know if it was built with ANSI, UTF-8, or UTF-16 charset). What utility can I use to determine this? ...
4
votes
1answer
899 views

autoindex list UTF-8 charset in Nginx

My nginx autoindex page does not display UTF-8 characters correctly, utf-8 problem I have set the charset utf-8; in my server block config section of nginx.conf file but that doesn't seem to fix the ...
1
vote
1answer
33 views

Varnish - usage of non latin characters of an URL in VCL

I have a client, which needs Varnish to be installed on his server. He is russian speaking and has an online shop with the following example URL, which needs to be excluded from cache (корзина is the ...
0
votes
1answer
128 views

phpinfo shows difference between Local and Master Values of default_charset

Here us there is a difference in the local default_charset than the master's. Is there a way to find the source of the change of each? Especially the local? So it shows the path of the file that is ...
1
vote
2answers
1k views

Nginx charset directive fails to modify Content-Type header

I understand that the “charset utf-8” directive in an http or server block of a configuration file should make nginx include “Content-Type: text/html; charset=utf-8” in the headers of a response, ...
0
votes
1answer
54 views

How can I set mysql connection charset to utf8 in apache mod_dbd?

How can I set connection charset to utf8 in apache mod_dbd with mysql driver? I could not find any corresponding parameter in DBDParams, something like this: DBDParams host=localhost,dbname=my_db,...
1
vote
1answer
1k views

What characters are allowed for the username and password in FreeRADIUS?

I am testing the WLAN functionalities of a device connecting to a RADIUS server. This RADIUS server is located on a Raspberry Pi with Raspbian Stretch and is using FreeRADIUS 3.0 and Hostapd. For EAP-...
1
vote
0answers
129 views

National characters in Open Tomato router and QNAP NAS shell

I added my Country locale (pl_PL) to shell in Open Tomato based router Asus and QNAP NAS. Originally only en_US and en_EN locale where available. Now it is possible to use it for example in vim-full ...
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 / { ...
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
1answer
523 views

Apache 2.4 proxy (listening to port 443, over ssl cert.) connection is dropping doctype, whereas proxy over non-ssl works as expected

I am trying to understand why my Apache 2.4 proxy is dropping the <!doctype html> declaration, when connecting over an SSL connection (port 443), but not -- when connecting over any other port. ...
2
votes
3answers
1k views

Can't cd into a directory named with accented characters

I have the following folders on a CentOS 7 Droplet. They were added via FTP from a French operating system. Evénement 1 Evénement 2 Evénement 3 The accented character (é) is replaced with a question ...
0
votes
1answer
295 views

Default charset on every pare including error pages

I would like to produce a 404 error intentionally for some pages on my server, and I am currently working on the headers. The problem is, for the scripts that exists (and I give a 404 error in the ...
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 ...
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
485 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 ...
1
vote
0answers
712 views

Nginx charset not working

I am using easy engine as my server i.e. nginx and setup with defaults, but when i goto my site for text/html the content-type does not show charset it shows up for everything else, this is bugging ...
0
votes
1answer
67 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
1answer
926 views

Mysql 5.6 client is unable show UTF8 characters

Mysql databases are hosted on AWS RDS Mysql 5.6 On one of the EC2 Cent OS 6.5 instance, I had Mysql Client 5.1. I used it to execute SELECT queries over the RDS-Mysql. There is one particular query ...
-2
votes
2answers
442 views

How to check Linux encoding history

Is there a way to track the changes OS chracter set (encoding) for example lets say the character set was UTF8 before month and its now Latin?
0
votes
1answer
8k views

Serving different charsets per virtual host

On a centos Server 6.5, apache 2.2.15 is it possible to server multiple charsets to different virtual hosts? I know that setting the default Charset is done by adding into the httpd.conf file: ...
0
votes
0answers
2k views

Character map broken during FTP transfer

I have recently migrated a web server running an old PHP shop, which runs a little tricky: let me explain first. If you want to post that on thedailywtf or codinghorror, you're welcome. The shop owner ...
5
votes
2answers
3k 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
757 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-...
0
votes
1answer
6k views

Weblogic: Setting character encoding with WLST

We are using WLST (Weblogic Scripting Language) to setup our Weblogic domains and managed servers. Now we would like to enforce the usage of UTF-8 character encoding globally. What I found here is ...
5
votes
1answer
345 views

Is there a legitimate reason to use an encoded word in any header other than the subject?

Encoded words allow non-US-ASCII characters to be encoded as US-ASCII and thus placed into email headers. http://en.wikipedia.org/wiki/MIME#Encoded-Word Encoded words are often used in the Subject ...
0
votes
1answer
78 views

Character encoding bugged after migration

I'm facing a nightmarish situation trying to fix my website's character encoding. Latin characters like á, é, ô, ã all turn to � This is my website's structure: I have 3 systems running my website, ...
0
votes
1answer
688 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/...
0
votes
1answer
3k views

PHP default_charset NOT changing

I have modified the php.ini file shown in the Loaded Configuration File value of phpinfo() to set the default_charset to UTF-8: default_charset = "UTF-8" However, when I re-run the phpinfo(), I see ...
2
votes
1answer
391 views

Is it possible to serve Apache's default internal pages with charset utf-8?

This question is specifically about the charset Apache (2.2 in my case) uses when serving it's default internal pages. For example, mod_autoindex directory listings, not-found ErrorDocument pages, 500-...
0
votes
1answer
214 views

Unrecognized characters in a genereted index of a directory

I have some files on a server with non-ASCII names and when I'm browswing the apache-generated index of a directory, the non-ASCII characters are not recognized (shown as ?). I've added instructions ...
-1
votes
1answer
607 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
1answer
2k views

Spanish Characters in Linux Server Bash Shell

I have a database that contains Spanish words in it. It contains words like sueño which have "special characters" in them. The MySQL database collation is set to utf-8-general-ci which supports ...
1
vote
0answers
318 views

ProxyPass on httpd breaking encoding

We are sending content with multibyte character data to proxypass, which is converting the characters to %uFFFD when it hits our database. How do i prevent httpd from messing with the encoding like ...
1
vote
1answer
513 views

Invalid umlaut characters when starting tomcat as a service

my problem is that the umlaut characters in an application pages (WAR) are not properly rendered when Tomcat is started as a service, but when I start the server manually it all looks good. I've ...
1
vote
1answer
3k views

Apache default charset doesn't work

I am trying to set default charset to ISO-8859-1, so I added the line below into httpd.conf. AddDefaultCharset ISO-8859-9 and I can see that value when I query it with root@server [/]# curl -A "...
3
votes
2answers
2k views

Apache Web Server character encoding

I've recently transferred my webapp from my localhost (LH) to a VPS, and have had hebrew chars-encoding probs since. Whenever I send a request with a heb-char it results in "?????" saved to the DB. ...
4
votes
1answer
916 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: ...
1
vote
2answers
1k views

MySQL Table contains latin1 but is defined as UTF8, character encoding hell

I have 'inherited' an osCommerce 2.2, PHP4 and MySQL4 setup which makes trouble. The problem is the character encoding. While the tables are defined to contain UTF8 they actually contain latin1. To ...
3
votes
3answers
36k views

How do I make imp use right charachter set?

I am trying to import a dmp file from one database to another. The problem is that some special danish characters are not imported right because some character map conversion is done during import. ...
0
votes
1answer
937 views

curl scrables accented characters

I'd like to transfered a url with curl, but the accented characters are scrambled. This is what I get: Bulletin cÙtier pour la bande des 20 milles de Port Camargue ‡ Saint<br> Raphael le mardi ...
41
votes
4answers
56k views

How to enable correct charset HTTP-header in NGINX

What is the right way to enable correct charset headers in NGINX? I'm analyzing my website with Google Page Speed. It says that I should specify the charset of HTML files in HTTP-headers. What is the ...
2
votes
0answers
156 views

Need information about this HTTP header (Conexão:fechada)

I keep seeing this HTTP header in the blocked HTTP requests on my web server for a lot of separate applications: Conexão:fechada Which is in Portuguese, and it means: Connection: closed This ...
1
vote
1answer
209 views

What is the fastest way to convert MySQL columns to UTF8 from latin1 colums who's data is actually UTF8?

I have a MySQL table that has a number of columns with the latin1 character set. Because of driver issues, the columns actually contain utf8 data. I want to leave the data as-is but change the ...
10
votes
5answers
77k views

How do I change my locale to UTF-8 in CentOS?

Here's the output of locale: LANG=zh_CN.GBK LC_CTYPE="zh_CN.GBK" LC_NUMERIC="zh_CN.GBK" LC_TIME="zh_CN.GBK" LC_COLLATE="zh_CN.GBK" LC_MONETARY="zh_CN.GBK" LC_MESSAGES="zh_CN.GBK" LC_PAPER="zh_CN.GBK" ...