[ic] HTML encode

Jon Jensen interchange-users@interchange.redhat.com
Tue Jan 15 22:50:01 2002


On Tue, 15 Jan 2002, vincenker wrote:

> When I center product entry with Chinese (double byte) into database, it
> looks fine in table products. Then, I load this product details with
> item_edit in Admin backend. The Chinese characters now is in hash codes
> like "ÍÖ".

Chinese in HTML is complicated. You need to make sure that you're entering
the Chinese into the database as raw double-byte code, not as HTML
entities, or you won't be able to edit from the UI. (The UI is designed to
show you actual HTML, so if you have   in the DB, it will show  
in the UI, but the browser will show a simple space in the storefront.)
You also need to make sure your browser is using the right encoding.

I'm doing work with Chinese right now and will be putting some changes
into Interchange soon, so if you run into trouble, let me know and I'll
see if I can help.

Jon