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
0 votes
0 answers
16 views

Per-share encoding in Samba?

Most of my filesystems use KOI8-U (since early nineties), but there is one share, which is "owned" by a PHP-based web-application, that uses UTF8. I have unix charset = koi8-u in the [global]...
user avatar
  • 2,242
1 vote
2 answers
193 views

Can I usefully convert spamassassin bayes tokens from utf8 CHAR(5) to BINARY(5)?

My spamassassin setup is very old and has been migrated across two machines and multiple mysql reinstalls. I recently noticed that when running sa-learn on messages, I'd get a slew of errors like the ...
user avatar
  • 111
1 vote
1 answer
14 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,...
user avatar
  • 3,447
2 votes
0 answers
894 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 ...
user avatar
7 votes
1 answer
4k 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 ...
user avatar
1 vote
1 answer
112 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 ...
user avatar
  • 5,057
0 votes
1 answer
324 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 ...
user avatar
  • 143
1 vote
2 answers
2k 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, ...
user avatar
0 votes
1 answer
94 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,...
user avatar
1 vote
1 answer
2k 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-...
user avatar
1 vote
0 answers
147 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 ...
user avatar
0 votes
1 answer
882 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
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
1 answer
635 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. ...
user avatar
  • 202
2 votes
3 answers
2k 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 ...
user avatar
  • 151
0 votes
1 answer
368 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 ...
user avatar
  • 236
1 vote
1 answer
956 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
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
653 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
0 answers
1k 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 ...
user avatar
0 votes
1 answer
110 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 ...
user avatar
  • 133
1 vote
1 answer
975 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 ...
user avatar
  • 637
-2 votes
2 answers
513 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?
user avatar
0 votes
1 answer
9k 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: ...
user avatar
0 votes
0 answers
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 ...
user avatar
5 votes
2 answers
4k 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 ...
user avatar
  • 151
5 votes
2 answers
3k 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 ...
user avatar
1 vote
0 answers
850 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-...
user avatar
0 votes
1 answer
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 ...
user avatar
  • 448
5 votes
1 answer
436 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 ...
user avatar
0 votes
1 answer
86 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, ...
user avatar
0 votes
1 answer
1k 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/...
user avatar
0 votes
1 answer
4k 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 ...
user avatar
  • 167
3 votes
1 answer
459 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-...
user avatar
  • 1,374
0 votes
1 answer
228 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 ...
user avatar
-1 votes
1 answer
690 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 ...
user avatar
  • 379
2 votes
1 answer
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 ...
user avatar
1 vote
0 answers
330 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 ...
user avatar
1 vote
1 answer
522 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 ...
user avatar
2 votes
1 answer
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 "...
user avatar
  • 141
3 votes
2 answers
3k 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. ...
user avatar
  • 31
4 votes
1 answer
958 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: ...
user avatar
1 vote
2 answers
2k 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 ...
user avatar
  • 212
3 votes
3 answers
40k 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. ...
user avatar
  • 227
0 votes
1 answer
1k 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 ...
user avatar
  • 177
50 votes
4 answers
73k 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 ...
user avatar
  • 970
2 votes
0 answers
163 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 ...
user avatar
1 vote
1 answer
223 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 ...
user avatar
14 votes
5 answers
103k 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" ...
user avatar
  • 353
0 votes
2 answers
919 views

Ubuntu 8.04LTS Folder name encoding issue

I will explain my problem from the beginning, I have an Ubuntu server 8.04LTS and I use a Java application with Tomcat 6.0.18 and JRE 1.6. The problem is that the display of characters such as (é è ç ...
user avatar
  • 1