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.
68
questions
0
votes
3
answers
54
views
4 unicode chars appear as first few characters in file which don't seem to show in vim
vi data.sql :
-- MariaDB dump 10.19 Distrib 10.4.28-MariaDB, for Win64 (AMD64)
But when I do head -n 10 data.sql I get the first line as
��-- MariaDB dump 10.19 Distrib 10.4.28-MariaDB, for Win64 (...
0
votes
0
answers
42
views
Server apache reverse does not encode coma in UTF-8
Server version: Apache/2.4.6 (CentOS)
Server built: Nov 5 2018 01:47:09
centos-release-7-6.1810.2.el7.centos.x86_64
We are trying to solve a reverse problem and we need you help
Reverse proxy Apache ...
1
vote
2
answers
317
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 ...
1
vote
1
answer
16
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,...
2
votes
0
answers
1k
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 ...
11
votes
1
answer
6k
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
1
answer
214
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
1
answer
481
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
2
answers
3k
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
1
answer
135
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
1
answer
3k
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
0
answers
162
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
1
answer
1k
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
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 ...
0
votes
1
answer
787
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
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 ...
0
votes
1
answer
470
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
1
answer
1k
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
1
answer
381
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
0
answers
704
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
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 ...
0
votes
1
answer
138
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
1
answer
1k
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
2
answers
664
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
1
answer
10k
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
0
answers
3k
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
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 ...
6
votes
2
answers
4k
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
0
answers
981
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
1
answer
7k
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
1
answer
551
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
1
answer
91
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
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/...
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 ...
3
votes
1
answer
564
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
1
answer
238
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
1
answer
741
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
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 ...
1
vote
0
answers
333
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
1
answer
534
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 ...
2
votes
1
answer
4k
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
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.
...
4
votes
1
answer
964
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
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 ...
3
votes
3
answers
42k
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
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 ...
54
votes
4
answers
81k
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 ...
1
vote
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 ...
1
vote
1
answer
228
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 ...
17
votes
5
answers
113k
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"
...