Skip to content

Instantly share code, notes, and snippets.

@runpaint
Created August 5, 2009 05:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save runpaint/162534 to your computer and use it in GitHub Desktop.
Save runpaint/162534 to your computer and use it in GitHub Desktop.
From 47db9f7a55d8f938648c5751c0092cd3c2ae9558 Mon Sep 17 00:00:00 2001
From: Run Paint Run Run <runrun@runpaint.org>
Date: Wed, 5 Aug 2009 06:45:31 +0100
Subject: [PATCH] unicode.c: Add U+2064 (INVISIBLE PLUS) to Cf category
---
enc/unicode.c | 30 ++++++++++++++++--------------
1 files changed, 16 insertions(+), 14 deletions(-)
diff --git a/enc/unicode.c b/enc/unicode.c
index 2dfcbba..521461b 100644
--- a/enc/unicode.c
+++ b/enc/unicode.c
@@ -4300,20 +4300,22 @@ static const OnigCodePoint CR_Cc[] = {
/* 'Cf': General Category */
static const OnigCodePoint CR_Cf[] = {
14,
- 0x00ad, 0x00ad,
- 0x0600, 0x0603,
- 0x06dd, 0x06dd,
- 0x070f, 0x070f,
- 0x17b4, 0x17b5,
- 0x200b, 0x200f,
- 0x202a, 0x202e,
- 0x2060, 0x2063,
- 0x206a, 0x206f,
- 0xfeff, 0xfeff,
- 0xfff9, 0xfffb,
- 0x1d173, 0x1d17a,
- 0xe0001, 0xe0001,
- 0xe0020, 0xe007f
+ 0x00ad, 0x00ad,
+ 0x0600, 0x0603,
+ 0x06dd, 0x06dd,
+ 0x070f, 0x070f,
+ 0x17b4, 0x17b5,
+ 0x200b, 0x200f,
+ 0x202a, 0x202e,
+ 0x2060, 0x2063,
+ 0x2064, 0x206a,
+ 0x206f, 0xfeff,
+ 0xfeff, 0xfff9,
+ 0xfffb, 0x1d173,
+ 0x1d17a, 0xe0001,
+ 0xe0001, 0xe0020,
+ 0xe007f
+
}; /* CR_Cf */
/* 'Cn': General Category */
--
1.6.0.4
From 94cf79b8a8ef77139d5ed9a1a7a40d1e10a1cd8e Mon Sep 17 00:00:00 2001
From: Run Paint Run Run <runrun@runpaint.org>
Date: Wed, 5 Aug 2009 06:53:48 +0100
Subject: [PATCH] enc/unicode.c: Add U+A788 (MODIFIER LETTER LOW CIRCUMFLEX ACCENT) to Lm cat
---
enc/unicode.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/enc/unicode.c b/enc/unicode.c
index 521461b..73e8edb 100644
--- a/enc/unicode.c
+++ b/enc/unicode.c
@@ -5621,8 +5621,9 @@ static const OnigCodePoint CR_Lm[] = {
0x309d, 0x309e,
0x30fc, 0x30fe,
0xa015, 0xa015,
- 0xff70, 0xff70,
- 0xff9e, 0xff9f
+ 0xa788, 0xff70,
+ 0xff70, 0xff9e,
+ 0xff9f
}; /* CR_Lm */
/* 'Lo': General Category */
--
1.6.0.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment