php-i18n Digest 28 Jun 2001 18:17:25 -0000 Issue 68
Topics (messages 160 through 160):
Looking for help saving and displaying multibyte text
160 by: Patrick Bui
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
I want to allow users of a website to enter either Chinese, Japanese
or Korean into a form and have it saved to a database. Then, I want the
text retrieved and redisplayed for editting at a later time. This seems
complicated. Even partial information would be appreciated.
1) What do I need to do within the form setup or javascript validation to be
able to submit the text.
a) can I just indicate a broad character set such as unicode, UTF-16,
UTF-8 or ISO-10646?
b) do I need to set enctype="multipart/form-data"
c) can anyone tell me whether there are issues dealing with mixed
character sets?
2) What do I need in PHP to make sure I store, retrieve and display
correctly within form texareas and within HTML? Is there any MIME to HTML
to Unicode conversion involved?
3) Is there another mature, well-supported, well-documented open-source tool
I should use instead?
Thanks.