Re: Attempt at putting greedy htmlspecialchars on a diet

From: Date: Sun, 05 Oct 2003 04:55:42 +0000
Subject: Re: Attempt at putting greedy htmlspecialchars on a diet
References: 1 2 3 4 5 6 7 8 9  Groups: php.general 
Request: Send a blank email to php-general+get-165079@lists.php.net to get a copy of this message
Curt Zirzow wrote:
That is an html entity and is not how it is stored. How that entity gets displayed depends entirely on what encoding you have set for the page. The japanese characters (charset ISO-2022-JP) to use to display the phrase for 'Contents' is: ^[$B$3$s$F$s$D^[(B (^[ == escape character) I can store those exact characters (with the proper escape character) in a database without a problem Then I haven't a clue as to why its stored that way, or its just the way the command line displays the content.
Using postgresql on a database setup for unicode storage, Im getting -> test=# select topic_title from forum_topics order by topic_time desc limit 1 offset 4;
                           topic_title
------------------------------------------------------------------- testing japanese 社会ニュース (1 row) I read your other post, Ill see whats possible with |get_html_translation_table|

« previous php.general (#165079) next »