[svn:parrot] r37866 - trunk/src/pmc

pmichaud at svn.parrot.org pmichaud at svn.parrot.org
Thu Apr 2 03:03:54 UTC 2009


Author: pmichaud
Date: Thu Apr  2 03:03:53 2009
New Revision: 37866
URL: https://trac.parrot.org/parrot/changeset/37866

Log:
[codestring]: Update charname_to_ord to use unicode extended names

Modified:
   trunk/src/pmc/codestring.pmc

Modified: trunk/src/pmc/codestring.pmc
==============================================================================
--- trunk/src/pmc/codestring.pmc	Thu Apr  2 02:31:04 2009	(r37865)
+++ trunk/src/pmc/codestring.pmc	Thu Apr  2 03:03:53 2009	(r37866)
@@ -217,7 +217,7 @@
     UChar32    codepoint;
     UErrorCode err       = U_ZERO_ERROR;
     char       *cstr     = Parrot_str_to_cstring(INTERP, name);
-    codepoint = u_charFromName(U_UNICODE_CHAR_NAME, cstr, &err);
+    codepoint = u_charFromName(U_EXTENDED_CHAR_NAME, cstr, &err);
     Parrot_str_free_cstring(cstr);
     if (U_SUCCESS(err)) {
         RETURN(INTVAL codepoint);


More information about the parrot-commits mailing list