in reply to Help inserting Kanji in MSSQL DB

I do not know much about MS SQL Server, but possibly your database is not set up for storing UTF-8 strings.

Update: Forget what I wrote above. I did not even see it, but, of course, CountZero is right, what you are trying to write to the DB is not Unicode code points or UTF-8 strings, but HTML.

Replies are listed 'Best First'.
Re^2: Help inserting Kanji in MSSQL DB
by michaeldhenry (Initiate) on Dec 21, 2014 at 18:20 UTC
    I just tried running the CGI script from the command line using "perl test.cgi" and it inserted the Kanji correctly so now I don't think it is Perl or DB related. Now I am thinking it may be something Apache is doing with the CGI when running the script. I will check on the Apache site. Thanks for the quick reply!