hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : PHP 4.2.3 Question
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

PHP 4.2.3 Question

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-14-2002, 10:13 AM
ricoche ricoche is offline
Junior Guru Wannabe
 
Join Date: Sep 2002
Location: Nagano, Japan
Posts: 79

PHP 4.2.3 Question


Hello there,

Nice Forum here. This is my first post.

I am from the U.S. and currently living in Japan. I have the Phpdev5 Setup for Win32 on my system which is fabulous.

Currently I am trying to get PHP to handle my Japanese character writing in both HTTP and scripts.

By enabling the mb_string extension in PHP 4.2.2 I can get proper output handling for HTTP with Shift_JIS or EUC-JP which is great. Here are my settings on my system. ( OS is Japanese and not English by the way ).

******************************
output_buffering = On
output_handler = mb_output_handler
default_mimetype = "text/html"
default_charset = "Shift_JIS"

extension=php_mbstring.dll
[mbstring]
mbstring.internal_encoding = EUC-JP
mbstring.http_input = auto
mbstring.http_output = SJIS
mbstring.detect_order = auto
mbstring.substitute_character = auto
mbstring.script_encoding = SJIS

*******************************

*** PROBLEM ***

I can't seem to get my Scripts to recognize Japanese multi-character bytes which has become a big problem for some scripts that I have. I have heard that in PHP4.2.3 this problem may have been corrected to something like the following.

mbstring.script_encoding = SJIS

Is there anyone here with any knowledge about this? This is a really important concept here I think for people in Asia regarding PHP and it looks like we're almost there with the encoding/decoding idea. It also paves the way for more multilanguage handling which I know many are interested in for the future.

Any advise, answers or comments would be great!

Thanks,

Ricoche

Reply With Quote


Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
The Value of Your Intellectual Property Blog 2013-05-06 17:43:13
Joomla Hosting Study Shows Speed, Uptime Top Selling Points of a Web Host Web Hosting News 2012-11-07 15:06:36
10-14-2012 Roswell, NM - The Hosting Shift Blog 2012-10-24 15:14:40
Rackspace Blog Looks at Easy Outsourcing for App Development Blog 2012-03-05 19:07:48
Blackberry the UnCloud Blog 2011-10-14 15:28:54


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?