Re: Japanese characters PHP & MySQL

"Muhammad" <[email protected]>
Newsgroups gmane.comp.php.internationalization
Organization Rofiq
Message-ID <[email protected]>
Hi all,

I'm a bit late knowing that this news is exist, right know i have solved my
moji-bake problems.

My sollution doesn't require any changes in php.ini, of course I still have
to activate mb_string module. But i still need to set mysql default encoding
to ujis, cause if not, the search result won't show correct matching. I
think with common compilation of mysql in japan that using ujis encoding as
default configuration, this shouldn't be a problem at all.

I intented to write it if time permits, but i don't think this solution is
new to anyone here.

Btw, i'm still unsure if ujis encoding in mysql is equals to euc-jp.

"Claire Hector" <[email protected]> wrote in message
news:[email protected]...
> Thanks for your replies!
> I have managed to fix the incomprehensible text!
>
> I didn't worry about configuring MySQL as I didn't think that's where
> the problem was and haven't needed too in the past.
>
> Cheers,
> Claire
>
> David Emery wrote:
>
> > On 2003.Apr.17, at 11:41 Asia/Tokyo, [email protected] wrote:
> >
> > > Moriyoshi Koizumi wrote:
> > >> If the outputs have ended up with "????", then that's even unlikely a
> > >> MySQL problem.
> > >
> > > As Moriyoshi pointed the problem possibly lies with MySQL and not PHP.
> > > Have you set up the database to accept multi-byte input? And if so has
> > > been set to accept SJIS?
> >
> > Whoah. No need to confuse the issue. If he has the PHP internal
> > encoding set to EUC, he shouldn't need MySQL to be set up for SJIS (in
> > fact that would screw things up severely) or even for multibyte
> > encoding (other than for sort order issues).
> >
> > >
> > > Jean-Christian Imbeault
> > >
> > > PS You said Apache 1.3.26? I don't know your OS but there is a newer
> > > version (.27) that fixes a security bug. I suggest upgrading.
> > >
> > >
> > > --
> > > PHP Internationalization Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> >
> > --
> > PHP Internationalization Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> ------------------------------------------------
> Claire Hector
> Matsushita Electric Works Ltd.
> Quality Management System Group
> Corporate Quality Management
>
> E-mail: [email protected]
> Notes: [email protected]
> ------------------------------------------------
>
>


-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.