#50297 [Opn->Fbk]: MessageFormatter::formatMessage don't support string with accent in it
| From: | jani@php.net | Date: | Thu, 26 Nov 2009 10:08:22 +0000 |
| Subject: | #50297 [Opn->Fbk]: MessageFormatter::formatMessage don't support string with accent in it | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-145094@lists.php.net to get a copy of this message | ||
ID: 50297
Updated by: jani@php.net
Reported By: pby_fr at yahoo dot fr
-Status: Open
+Status: Feedback
-Bug Type: Unknown/Other Function
+Bug Type: I18N and L10N related
Operating System: Windows Vista 64
PHP Version: 5.3.1
New Comment:
Try this:
http://www.php.net/manual/en/messageformatter.geterrormessage.php
You might have something like wrong locale there or something..
Previous Comments:
------------------------------------------------------------------------
[2009-11-25 20:37:49] pby_fr at yahoo dot fr
Description:
------------
Using accent character in the pattern of
MessageFormatter::formatMessage return an empty string.
Reproduce code:
---------------
echo (MessageFormatter::formatMessage("fr_FR", "with accent à é",
array()));
Expected result:
----------------
to display: with accent à é
Actual result:
--------------
display nothing
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50297&edit=1