ID: 36311
Updated by: [EMAIL PROTECTED]
Reported By: alex at agileware dot net
Status: Open
-Bug Type: mbstring related
+Bug Type: Feature/Change Request
Operating System: linux
PHP Version: 4.4.2
New Comment:
Reclassified as feature request.
Previous Comments:
------------------------------------------------------------------------
[2006-02-07 02:47:54] alex at agileware dot net
Description:
------------
mb_convert_case with MB_CASE_TITLE capitalises the 's' after an
apostrophe. It could also optionally accept an array of words not to
change, such as 'a', 'at', 'in', 'of', etc.
Reproduce code:
---------------
<?php
print mb_convert_case("THE APOSTROPHE'S 'S' SHOULD NOT BE CAPITALISED",
MB_CASE_TITLE);
?>
Expected result:
----------------
The Apostrophe's 'S' Should Not Be Capitalised
Actual result:
--------------
The Apostrophe'S 'S' Should Not Be Capitalised
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36311&edit=1