thanku guys the last one works for me but still it cant show my RTL
font properly, plz help me tru
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
Have you tried adding dir=rtl to your html or body tags?
For more info:
http://ppewww.ph.gla.ac.uk/~flavell/charset/text-direction.html
HTH,
Ryan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To
my web site has 'rtl' direction, so i need to initialize the mysql with
this method:
mysql_query(SET NAMES UTF8);
but the problem is, i donno where to put it on cake,
plz guide me :D
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
in app/config/database.php, you can add this to your database
configuration array:
'encoding' = 'UTF8'
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
nate wrote:
in app/config/database.php, you can add this to your database
configuration array:
'encoding' = 'UTF8'
Hi,
I think this configuration option was added to the 1.2 branch.
If you are using 1.1 you can put this in app/app_model.php:
class AppModel extends Model {
function
bernardo wrote:
class AppModel extends Model {
function __construct() {
parent::__construct();
if(!defined('GLOBAL_UTF8')) {
$this-query('SET NAMES utf8');
define('GLOBAL_UTF8', TRUE);
}
}