View Single Post
Old 03-02-2009, 02:12:58 AM     #9 (permalink)
Skinner

 
Skinner's Avatar
 
Join Date: Jul 2008
Location: Manchester
Posts: 2,507
Skinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond repute

You would be better using graphics made with GD or ImageMagick to display the Kanji.

You can make quotes etc safe using the htmlentities() functions, which converts < > into &gt; / &lt; and " into &quote; stuff like that. Stops nasties being added in.

There is also utf8_encode and utf8_decode that may help too.

My RegEx sucks major ass but I'm pretty sure you need to add \i to make it case insensitive, otherwise your only going to match lowercase letters
__________________
Browse:
Skinner is offline