Bug 198148

Summary: mbstring only supports Japanese
Product: Red Hat Enterprise Linux 3 Reporter: Need Real Name <qbin>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-03 15:32:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2006-07-10 10:55:38 UTC
Description of problem:
mbstring extension only supports Japanese.

Version-Release number of selected component (if applicable):

How reproducible:
always

Steps to Reproduce:
1. create a file that contains phpinfo() function.
2. browse a file via Apache
3.
  
Actual results:
(snip)
mbstring

Multibyte Support                                             enabled
Japanese support                                              enabled
HTTP input encoding translation                               enabled
Multibyte (japanese) regex support                            enabled

Expected results:
(snip)
mbstring

Multibyte Support                                             enabled
Japanese support                                              enabled
Simplified chinese support                                    enabled
Traditional chinese support                                   enabled
Korean support                                                enabled
Russian support                                               enabled
Multibyte (japanese) regex support                            enabled


Additional info:

From http://www.php.net/manual/en/ref.mbstring.php,
> For PHP 4.3.3 or before, To enable that feature, you will have to supply either 
> one of the following options to the LANG parameter of --enable-mbstring=LANG; 
> --enable-mbstring=cn for Simplified Chinese support, --enable-mbstring=tw for 
> Traditional Chinese support, --enable-mbstring=kr for Korean support, 
> --enable-mbstring=ru for Russian support, and --enable-mbstring=ja for Japanese 
> support (default). To enable all supported encoding, use --enable-mbstring=all.

php.spec specifies only --enable-mbstring (not --enable-mbstring=all). Therefore
mbstring supports only Japanese.

Comment 2 Joe Orton 2007-04-03 15:32:27 UTC
This is fixed in releases of Red Hat Enterprise Linux 4 and later.