[wp-hackers] 'stripslashes(attribute_escape(' ?

Abel Cheung abelcheung at gmail.com
Fri Jan 18 18:42:29 GMT 2008

On Jan 14, 2008 1:06 AM, Andre SC <andre at pixelplexus.co.za> wrote:
> For a plugin that needs to cope with chinese names and characters I'm using:
>  `htmlentities(trim($value), ENT_QUOTES, "UTF-8"); `
> (for data fields that might also end up being post titles).
> When the data is being parroted back at the user via a form, is there
> any reason not to do something like :
> `stripslashes(attribute_escape($value))`
> (I figure attribute_escape being native to the WordPress platform might
> deserve to be respected/retained but I don't want to show escaped
> 'quotes' e.g. `\'` as its a critical part of many chinese names)

Put it bluntly, nobody can help you here. Wordpress isn't tailored for Asian
languages. Being able to show glyphs on Asian languages is already good


> I seem to be blocked from the forum agin/still, so hope someone here can
> help me please.
> Thanx
> André SC
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

Abel Cheung   (GPG Key: 0xC67186FF)
Key fingerprint: 671C C7AE EFB5 110C D6D1  41EE 4152 E1F1 C671 86FF
* My blog: http://me.abelcheung.org/
* Opensource Application Knowledge Assoc. - http://oaka.org/

More information about the wp-hackers mailing list