hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : about charset
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

about charset

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-17-2007, 11:17 AM
kteo kteo is offline
WHT Addict
 
Join Date: Mar 2006
Posts: 147

about charset


hello there i recently bought an new server ...the problem is 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

Reply With Quote


Sponsored Links
  #2  
Old 08-17-2007, 11:02 PM
PremiumHost PremiumHost is offline
Web Hosting Master
 
Join Date: Jan 2005
Posts: 2,798
Log in SSH and try this command
mysqld --character-set-server=ISO-8859-7
Change in php.ini will not help because you want to configure mysql default charset.

__________________
Reseller Hosting Cpanel SSD 32GB RAM CloudLinux Softaculous
Windows Reseller Windows 2008 MSSQL 2012 SmarterMail Enterprise

Windows VPS Hyper-V US & UK - PremiumReseller.com 7 Years in Business

Reply With Quote
  #3  
Old 08-17-2007, 11:12 PM
MaximSupport MaximSupport is offline
Web Hosting Guru
 
Join Date: Feb 2006
Location: Pakistan/India/USA
Posts: 322
Re:

Dear kteo,

Quote:
Originally Posted by PremiumHost View Post
Log in SSH and try this command
mysqld --character-set-server=ISO-8859-7
Change in php.ini will not help because you want to configure mysql default charset.

You can also do this by editing your MySQL Configuration File.

vi /etc/my.cnf

Code:
[mysqld]
character_set_server = ISO-8859-7
default-character-set = ISO-8859-7
.
.
.
Edit your php.ini

Note: my path for php.ini is /usr/local/lib

vi /usr/local/lib/php.ini

Code:
mbstring.internal_encoding=ISO-8859-7
mbstring.http_input=auto
mbstring.detect_order=UCS-4, UCS-4BE, UCS-4LE, UCS-2, UCS-2BE, UCS-2LE, UTF-32, UTF-32BE, UTF-32LE, UCS-2LE, UTF-16, UTF-16BE, UTF-16LE, UTF-8, UTF-7, ASCII,ISO-8859-2, ISO-8859-1, ISO-8859-3, ISO-8859-4, ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, ISO-8859-10, ISO-8859-13, ISO-8859-14, ISO-8859-15, BASE64, EUC-JP, SJIS, eucJP-win, SJIS-win, ISO-2022-JP, JIS
mbstring.substitute_character=none
Best Regards.

__________________
Tom F - CISSO, CPTE, OSCP, RHCE
Maxim Support - Hosting Solutions & Server Management
Email : tom@maximsupport.com
Web : http://www.maximsupport.com


Reply With Quote
Sponsored Links
  #4  
Old 08-18-2007, 09:48 AM
david510 david510 is offline
Web Hosting Master
 
Join Date: Oct 2004
Location: Kerala, India
Posts: 4,617
The charset related to the description "ISO 8859-7 Greek" is greek. So the charset name is greek. You need to specify the value as given below.

Code:
[mysqld]
character_set_server = greek
default-character-set = greek
Code:
mbstring.internal_encoding=greek

__________________
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
iWebManager | Access WHM from iPhone and Android

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
5 Steps to Prevent Negativity Within Your Organization Blog 2013-05-21 13:27:13
Strategies to Reduce Operating Costs, Avoid Email Blacklisting and Improve Deliverability Webinars 2013-05-15 11:27:46
WHD.india 2013 Web Hosting Events 2013-05-22 13:02:04


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?