Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: Web forms and Japanese
- To: tlug@example.com
- Subject: Re: Web forms and Japanese
- From: Alexander Reeder <alexr@example.com>
- Date: Wed, 23 May 2001 11:27:30 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <990533301.3b0a56b5de331@example.com>; from jmglov@example.com on Tue, May 22, 2001 at 08:08:21AM -0400
- References: <990533301.3b0a56b5de331@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <ebNr1B.A.qH.QcxC7@example.com>
- Resent-Sender: tlug-request@example.com
> I am working on some research project in one of my classes, > and we made an anketo that I want to put on the web. Should > I be specifying any encoding at the top of my HTML? The page > is in ISO-2022... What Jim said... > The main question, however, is: can PHP deal with Japanese? > Right now, when I enter some Japanese text in the web form > and hit submit, my test PHP script just prints some garbage > that is not viewable under *ANY* encoding in Mozilla. PHP and Japanese work wonderfully together. You will need to download mbregex and jstring which are modules that help you convert JIS <-> EUC <-> SJIS (among other things). Before inserting any data make sure to convert the submitted data to whatever encoding mySQL supports (EUC) and back again when displaying data. You can find the php4 patches here: ftp://night.fminn.nagano.nagano.jp/php4/ The PHP folks are saying they might be incorporated into the distribution from v4.0.6 (currently v4.0.5). Pax, Alexander Reeder
- References:
- Web forms and Japanese
- From: Josh Glover <jmglov@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: Mini-nomikai Friday
- Next by Date: Re: Web forms and Japanese
- Prev by thread: Re: Web forms and Japanese
- Next by thread: Re: Web forms and Japanese
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links