petros82 Posted June 2, 2009 Share Posted June 2, 2009 I use whmcs to register .gr TLDs and my registrant needs utf-8 encoding so i setup to localization setting utf-8 My language file is in Greek and i see characters like (��) When i add the line "header('Content-Type: text/html; charset=iso8859-7');" in my language file, everything is ok, but when a customer input text then from my admin panel i see (��) again ! Anyone can help me ? Thanks in advanced Petros 0 Quote Link to comment Share on other sites More sharing options...
siforek Posted June 2, 2009 Share Posted June 2, 2009 Where are you seeing �� in the admin panel? 0 Quote Link to comment Share on other sites More sharing options...
Strats Posted June 2, 2009 Share Posted June 2, 2009 Petros, The best way to use whmcs with greek lang is to set it up with System Charset iso-8859-7 This is the only way to avoid encoding problems. 0 Quote Link to comment Share on other sites More sharing options...
blainous Posted June 4, 2009 Share Posted June 4, 2009 Solution 1: Upgrade to WHMCS v4 Solution 2: Add a new currency with the name EURO and the symbol € 0 Quote Link to comment Share on other sites More sharing options...
vagdesign Posted June 7, 2009 Share Posted June 7, 2009 Petro, try on the Admin Panel > Setup/General Settings/*Localization* tab to change the System Charset to windows-1253. To my installation of WHMCS 4.0.1 works ok. I hope this helps. VAG 0 Quote Link to comment Share on other sites More sharing options...
Dusan Posted June 9, 2009 Share Posted June 9, 2009 Hi Everyone, The best solution for any language with special characters is the following (trust me, I had severe headache before hacking it): Edit your desired lang file in "notepad ++", type in any special character you like (no need for HTML codes), convert the file to 'UNIX UTF8 without DOM' format, and set up UTF8 in the admin area. That's all! Hope it helps. Greets, Dusan. 0 Quote Link to comment Share on other sites More sharing options...
spyrosvl Posted June 17, 2009 Share Posted June 17, 2009 You have to change the file encoding with notepad++ to UTF8 without bom as was said but you will also have to check the collation of your database. mySQL tables and fields collation has to be UTF8 unicode or UTF8 general. Make sure that when something is written on your database is written with normal greek characters. 0 Quote Link to comment Share on other sites More sharing options...
gr2 Posted July 3, 2009 Share Posted July 3, 2009 Hi Everyone, The best solution for any language with special characters is the following (trust me, I had severe headache before hacking it): Edit your desired lang file in "notepad ++", type in any special character you like (no need for HTML codes), convert the file to 'UNIX UTF8 without DOM' format, and set up UTF8 in the admin area. That's all! Hope it helps. Greets, Dusan. thanks for this working solution on v4. 0 Quote Link to comment Share on other sites More sharing options...
chrismfz Posted July 3, 2009 Share Posted July 3, 2009 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> Nice What was your old encoding inside WHMCS ? (From Settings > Localization) Unicode or Greek ISO ? Because I have started with Greek ISO and everytime I tried to switch to UTF all the Database information including clients, comments, names, invoices, generally everything messed up... (Yes the classic "???" sh*t) I tried iconv, voodoo magic, shell scripts, notepad++ but I cannot convert the db into UTF to change it entirely.. Any ideas ? Matt told me it cannot be done but I just believe he had a bad day when he told me... 0 Quote Link to comment Share on other sites More sharing options...
gr2 Posted July 3, 2009 Share Posted July 3, 2009 utf8. but the database and the language files are 2 separate issues. this solution is for the language files, not the database. im afraid, but not 100%, that you might need to re-enter all your data. best bet would be a clean install and the bd local set to utf8 as well as in whmcs. hope this helps. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.