Re: [PHP] Japanese entry into MySQL and into emails

2003-11-03 Thread Marek Kilimajer
I have only one advise for you: send yourself an email with the kanji encoding and check the email headers with the headers you set. Dave G wrote: Thank you Edwin, Marek, and Eugene for your responses and advice. For storing the Japanese names in kanji in the database, I've

RE: [PHP] Japanese entry into MySQL and into emails

2003-11-03 Thread Dave G
The issue of entering Japanese into email from a PHP script has been resolved. A key point was that when creating a header for an email, not only should \r\n be used to separate lines, but immediately preceding \r\n should be a space. The end result was to create a variable that

RE: [PHP] Japanese entry into MySQL and into emails

2003-11-01 Thread Dave G
Thank you Edwin, Marek, and Eugene for your responses and advice. For storing the Japanese names in kanji in the database, I've changed the column to blob. Storing and retrieving the fields seems to work okay in all my tests, and this solution seemed to be the easiest and without

[PHP] Japanese entry into MySQL and into emails

2003-10-30 Thread Dave G
PHP Gurus, Hello, I'm new to this list. I'm very much new to PHP, so my questions will be very basic. I have two things I need to do in Japanese: 1. Store people's names in kanji in my MySQL database. To this end, I've set up an INSERT command without doing

Re: [PHP] Japanese entry into MySQL and into emails

2003-10-30 Thread Marek Kilimajer
Unless you want to do string manipulation you don't need mbstring. You only need to pay atention to these details: 1. Set charset to kanji for your html pages using header('Content-type: text/html; charset=kangi'); 2. In phpMyAdmin choose Japanese with kangi encoding for the interface language.

Re: [PHP] Japanese entry into MySQL and into emails

2003-10-30 Thread Eugene Lee
On Thu, Oct 30, 2003 at 10:36:37AM +0100, Marek Kilimajer wrote: : : Unless you want to do string manipulation you don't need mbstring. You : only need to pay atention to these details: : 1. Set charset to kanji for your html pages using : header('Content-type: text/html; charset=kangi'); a.

Re: [PHP] Japanese entry into MySQL and into emails

2003-10-30 Thread Marek Kilimajer
I'm sorry, I have never worked with Japanese. ;) Eugene Lee wrote: On Thu, Oct 30, 2003 at 10:36:37AM +0100, Marek Kilimajer wrote: : : Unless you want to do string manipulation you don't need mbstring. You : only need to pay atention to these details: : 1. Set charset to kanji for your html

Re: [PHP] Japanese entry into MySQL and into emails

2003-10-30 Thread Marek Kilimajer
Please, include the list's address in cc. You will have much higher chance to get an answer. Dave G wrote: With regards to the kanji field in the MySQL database: Only one field in one table uses kanji. There are seven other tables. Will setting the character set to

Re: [PHP] Japanese entry into MySQL and into emails

2003-10-30 Thread - Edwin -
On 2003.10.30, at 18:46 Asia/Tokyo, Eugene Lee wrote: On Thu, Oct 30, 2003 at 10:36:37AM +0100, Marek Kilimajer wrote: : : Unless you want to do string manipulation you don't need mbstring. You : only need to pay atention to these details: : 1. Set charset to kanji for your html pages using :

Re: [PHP] Japanese entry into MySQL and into emails

2003-10-30 Thread - Edwin -
Hi, On 2003.10.30, at 18:11 Asia/Tokyo, Dave G wrote: PHP Gurus, Hello, I'm new to this list. I'm very much new to PHP, so my questions will be very basic. I have two things I need to do in Japanese: 1. Store people's names in kanji in my MySQL database. To this