develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r34238 - trunk/src/charset

From:
pmichaud
Date:
December 22, 2008 00:27
Subject:
[svn:parrot] r34238 - trunk/src/charset
Message ID:
20081222082727.E3494CBA12@x12.develooper.com
Author: pmichaud
Date: Mon Dec 22 00:27:26 2008
New Revision: 34238

Modified:
   trunk/src/charset/unicode.c

Log:
[core]:  Recognize LINE/PARAGRAPH SEPARATOR unicode chars as whitespace.


Modified: trunk/src/charset/unicode.c
==============================================================================
--- trunk/src/charset/unicode.c	(original)
+++ trunk/src/charset/unicode.c	Mon Dec 22 00:27:26 2008
@@ -758,7 +758,8 @@
             case 0x1680: case 0x180e: case 0x2000: case 0x2001:
             case 0x2002: case 0x2003: case 0x2004: case 0x2005:
             case 0x2006: case 0x2007: case 0x2008: case 0x2009:
-            case 0x200a: case 0x202f: case 0x205f: case 0x3000:
+            case 0x200a: case 0x2028: case 0x2029: case 0x202f: 
+            case 0x205f: case 0x3000:
                 return 1;
             default:
                 break;



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About