On Tuesday 30 March 2004 19:31, Rob Ellis wrote: > On Tue, Mar 30, 2004 at 11:23:03AM +0300, nabil wrote: > > When submitting a data from an HTML page > > and inserting them in MySQL: what > > encoding they will be ? > > is it the page encoding? > > the field size like VARCHAR 15 won't fit > > the same in both encoding for the same > > text. !! > > Is the font any relation with encoding? > > phpmyadmin doesn't support UTF-8 so > > dumping your data using it will screw it > > up.... is it a way to convert it inside > > the database... > > > > Explain to me please , or if you can > > tell me where to find my answers (not > > google) > > if the page that the input form is on sets > utf-8 as the content type, then most (?) > browsers will send utf-8. you can use a > meta tag like: > > <meta http-equiv="Content-Type" > content="text/html; charset=utf-8"> >
What we have done in a similar situation is to set the client encoding in php.ini as below and this solved the same problems as you describe: ================================== default_mimetype = "text/html" default_charset = "utf-8" ================================= Hope this helps. Best regards, -- Integrated Management Tools for leather industry ---------------------------------- http://www.leatherlink.net Ma Siva Kumar, BSG LeatherLink (P) Ltd, Chennai - 600106 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php