|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Hi Folks !
Please, someone help a beginner URL I'm using a FORM/TEXTAREA to input some data to MySQL. Can I put some non 7bit character (eg "ç"(ç URL, "ã"(ã URL, "é"(é URL on DB or I need to convert to htmentities before store this ? Or I just need convert on browser display using "htmlentities()" function ? Thanks in advance and excuse my poor english... URL |
|
#2
|
|||
|
|||
|
Hi
I store danish special chars in my db without any problems. There is one 'but', tho: If you use the db for a 'international' site it's a good idea to convert them either when you store the data or when you present them. (eg. convert Ç to & #199 ; ) Also put: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> in your header statement. The ISO8859-1 character set (Latin-1) is supported is supported by Netscape and Explorer both. Hope this helps you ![]() // Martin [This message has been edited by kaasgaard (edited May 27, 2000).] [This message has been edited by kaasgaard (edited May 27, 2000).] [This message has been edited by kaasgaard (edited May 27, 2000).] |
|
#3
|
|||
|
|||
|
One piece of advice on converting. Do it before DISPLAY not before insert into the db. If you need to edit in a textbox later it'll be easier.
|
|
#4
|
|||
|
|||
|
Hi!
I store the special characters (8bit) in DB and convert it, using htmlentities(), just for display. It works! URLThanks folks vilmar |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > MySQL-PHP and HTML entities |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|