Charset On FC5

Feb 18, 2008

I own and run the server I am having issues with FC5 running. it has been online with no issues. Until this new client.

I have a new client moving his sites to my servers. The issue is the sites have text in it that are not displaying correctly. When you view them through your browser or if I view them on the server with nano and look a the code, some characters are all messed up.

here is an example. on the websitethis is how its supposed to look.

“0” but when you view it with Firefox it looks like this �0�.

if I download the source and view it in word pad it is fine, and looks as it should I have change my charsets around even have the same charsets installed on his server installed on mine. I have commented out default charset in apache to let the browser choose but to no avail. My server has no problem showing Chinese text on web pages or anything else so i do not understand why this is happening. If anyone has any ideas please let me know, this is very frustrating as I have never had this issue before.
here is what is in my httpd.conf

AddLanguage da .dk
AddLanguage nl .nl
AddLanguage en .en
AddLanguage et .ee
AddLanguage fr .fr
AddLanguage de .de
AddLanguage el .el
AddLanguage he .he
AddCharset ISO-8859-8 .iso8859-8
AddLanguage it .it
AddLanguage ja .ja
AddCharset ISO-2022-JP .jis
AddLanguage kr .kr
AddCharset ISO-2022-KR .iso-kr
AddLanguage nn .nn
AddLanguage no .no
AddLanguage pl .po
AddCharset ISO-8859-2 .iso-pl
AddLanguage pt .pt
AddLanguage pt-br .pt-br
AddLanguage ltz .lu
AddLanguage ca .ca
AddLanguage es .es
AddLanguage sv .sv
AddLanguage cz .cz
AddLanguage ru .ru
AddLanguage zh-tw .tw
AddLanguage tw .tw
AddCharset Big5 .Big5 .big5
AddCharset WINDOWS-1251 .cp-1251
AddCharset CP866 .cp866
AddCharset ISO-8859-5 .iso-ru
AddCharset KOI8-R .koi8-r
AddCharset UCS-2 .ucs2
AddCharset UCS-4 .ucs4
AddLanguage ltz .lu
AddLanguage ca .ca
AddLanguage es .es
AddLanguage sv .sv
AddLanguage cz .cz
AddLanguage ru .ru
AddLanguage zh-tw .tw
AddLanguage tw .tw
AddCharset Big5 .Big5 .big5
AddCharset WINDOWS-1251 .cp-1251
AddCharset CP866 .cp866
AddCharset ISO-8859-5 .iso-ru
AddCharset KOI8-R .koi8-r
AddCharset UCS-2 .ucs2
AddCharset UCS-4 .ucs4
AddCharset UTF-8 .utf8

AddDefaultCharset UTF-8

View 2 Replies


ADVERTISEMENT

Charset

Aug 17, 2007

i have problems with charsets in all the php-mysql sites whick i setup..i am from greece and i want all to have as default the greek lang...what exactly i must change from mysql or apache to have all working fine with greek charset ISO-8859-7

Before your answers i must tell you that
2))i have change in php.ini as default language to the greek ISO-8859-7
2)also in phpmyadmin mysql connection collation is set it in UTF_8 bin
BUT THE Problem stills remains

View 3 Replies View Related

Charset In PhpMyAdmin

May 20, 2007

I have a auction website using php and mySQL and categories are saved in database. When i tried to add new categories in Admin area such as: Đà Nẵng(Vietnamese) and when i saved, it displayed something funny like this:"ďà N&#ng". I have modified charset in myPhPadmin for the database and for categories table to uft-8, but it won't help.

View 4 Replies View Related

Charset Errors

Aug 14, 2007

I have a server:

CentOS release 4.5 (Final)
PHP Version 4.3.9
Apache Version: 2.0.52-32.3.ent.centos4
mySQL 4.1.20-2.RHEL4.1

And i keep gettings these errors:

Code:
MySQL Error!
------------------------

The Error returned was:
Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (cp1251_general_ci,COERCIBLE) for operation 'regexp'

Error Number:
1267

SELECT name FROM uxwarez_users WHERE LOWER(name) REGEXP '[[:<:]]d[a&#65533;][vu&#65533;][i1l!]d[[:>:]]'

You can see these: &#65533;
I get those also in my webpage. They replace almost every special character.

View 4 Replies View Related

Which MySQL Utf8 Charset Should I Use

May 20, 2007

to change a mysql database and all its tables to a utf8 charset and collation, however I'm not sure specifically which one I should use. We are currently using latin1_general_ci.

On a forum I've noticed that in a couple of posts I made, sometimes characters such as the euro sign €, and the German ß get converted to question marks.

Being an English forum we don't often have members use these characters but we'd like them displayed correctly when they are.

I don't really know much about character sets and such, but I understand that they contain different characters and treat them differently in comparisons and sorts etc. So which of the following should I be using?
utf8_bin
utf8_general_ci
utf8_unicode_ci

I was leaning towards unicode, but I don't know what the differences between them are. Can anyone advise us on what to use?

This is for MySQL 4.1.22 btw.

I'm certain the problem is not with my browser, and the characters are typed from the keyboard, not copied and pasted from word docs. A charset is specified by a meta tag in the header too.

View 1 Replies View Related

Plesk 12.x / Windows :: MySQL 5.5 - Unknown OS Charset

Sep 29, 2014

We have a special application that works on 3 servers, 1 of them is main server and others are mysql replicate servers basically used for generating reports or backups...

Server 1 - Centos 6.5/Mysql 5.5/Plesk 12
Server 2 - Centos 6.5/Mysql 5.5/Plesk 11
Server 3 - Server 2008 R2/Mysql 5.5/Plesk 12

Server 1->Server 2 replication works perfectly
Server 1->Server 3 replication sometimes fails with character issues (our database and tables use utf8_turkish_ci), when I tried to investigate this issue by logging in to mysql on Server 3 right after connection i saw "Unknown OS Character Set 'cp857' Switching to default character set latin1" and i am guessing that my replication issues are also related to this issue. I tried adding below settings to my.ini at "C:Program Files (x86)ParallelsPleskDatabasesMySQLdata"

[mysqld]
init_connect='SET collation_connection = utf8_turkish_ci'
init_connect='SET NAMES utf8'
character-set-server=utf8
collation-server=utf8_turkish_ci
skip-character-set-client-handshake
[mysql]
default-character-set=utf8
default-collation=utf8_turkish_ci
[client]
default-character-set=utf8
default-collation=utf8_turkish_ci

but didnt change anything, i was wondering if these settings were wrong so i tried them at my local wamp installation which i was having same error, but error was gone after adding them to my.ini so i think settings are alright...

View 3 Replies View Related

Plesk 12.x / Windows :: Setting Utf8mb4 Charset For Server And Databases

Mar 5, 2015

I have upgrade my mysql plesk installation from 5.1 to 5.6 and have troubles in setting utf8mb4 charset for server and databases. Special characters still display badly in my websites. I'm running Windows Server 2012 R2 and plsk 12. 

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved