Page 1 of 1

Greek Language

Posted: Wed Apr 02, 2008 9:21 am
by gurjit
I am having difficulties with inserting and outputting greek language on pages.

I have a website with add/modify and view screens. Users from UK, USA, Germany enter data in there language. All was fine until the Greeks wanted to join.

I have some code in php which makes the first character uppercase:

Code: Select all

<?php 
 
$eq_fname = ucfirst($eq_fname);
$eq_lname = ucfirst($eq_lname);
$eq_postcode = strtoupper($eq_postcode);
?>
 
When I type anything into the textbox and try to update or insert a record, it gets cut off.
I also have script with the following:

Code: Select all

<?php
echo stripslashes(htmlentities($stu_alt_fname,ENT_COMPAT));
 
?>
In this case all characters come out in hex format with the greek characters.

Any ideas how this can all be made global?