|
Karsten Hopp |
fe3272 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
fe3272 |
Subject: Patch 7.2.330
|
|
Karsten Hopp |
fe3272 |
Fcc: outbox
|
|
Karsten Hopp |
fe3272 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
fe3272 |
Mime-Version: 1.0
|
|
Karsten Hopp |
fe3272 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
fe3272 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
fe3272 |
------------
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
Patch 7.2.330
|
|
Karsten Hopp |
fe3272 |
Problem: Tables for Unicode case operators are outdated.
|
|
Karsten Hopp |
fe3272 |
Solution: Add a Vim script for generating the tables. Include tables for
|
|
Karsten Hopp |
fe3272 |
Unicode 5.2.
|
|
Karsten Hopp |
fe3272 |
Files: runtime/tools/README.txt, runtime/tools/unicode.vim, src/mbyte.c
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
*** ../vim-7.2.329/runtime/tools/README.txt 2005-12-02 01:47:43.000000000 +0100
|
|
Karsten Hopp |
fe3272 |
--- runtime/tools/README.txt 2010-01-12 19:43:13.000000000 +0100
|
|
Karsten Hopp |
fe3272 |
***************
|
|
Karsten Hopp |
fe3272 |
*** 32,35 ****
|
|
Karsten Hopp |
fe3272 |
--- 32,37 ----
|
|
Karsten Hopp |
fe3272 |
xcmdsrv_client.c: Example for a client program that communicates with a Vim
|
|
Karsten Hopp |
fe3272 |
server through the X-Windows interface.
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
+ unicode.vim Vim script to generate tables for src/mbyte.c.
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
[xxd (and tee for OS/2) can be found in the src directory]
|
|
Karsten Hopp |
fe3272 |
*** ../vim-7.2.329/runtime/tools/unicode.vim 2010-01-12 19:47:33.000000000 +0100
|
|
Karsten Hopp |
fe3272 |
--- runtime/tools/unicode.vim 2010-01-12 19:42:14.000000000 +0100
|
|
Karsten Hopp |
fe3272 |
***************
|
|
Karsten Hopp |
fe3272 |
*** 0 ****
|
|
Karsten Hopp |
fe3272 |
--- 1,280 ----
|
|
Karsten Hopp |
fe3272 |
+ " Script to extract tables from Unicode .txt files, to be used in src/mbyte.c.
|
|
Karsten Hopp |
fe3272 |
+ " The format of the UnicodeData.txt file is explained here:
|
|
Karsten Hopp |
fe3272 |
+ " http://www.unicode.org/Public/5.1.0/ucd/UCD.html
|
|
Karsten Hopp |
fe3272 |
+ " For the other files see the header.
|
|
Karsten Hopp |
fe3272 |
+ "
|
|
Karsten Hopp |
fe3272 |
+ " Usage: Vim -S <this-file>
|
|
Karsten Hopp |
fe3272 |
+ "
|
|
Karsten Hopp |
fe3272 |
+ " Author: Bram Moolenaar
|
|
Karsten Hopp |
fe3272 |
+ " Last Update: 2010 Jan 12
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " Parse lines of UnicodeData.txt. Creates a list of lists in s:dataprops.
|
|
Karsten Hopp |
fe3272 |
+ func! ParseDataToProps()
|
|
Karsten Hopp |
fe3272 |
+ let s:dataprops = []
|
|
Karsten Hopp |
fe3272 |
+ let lnum = 1
|
|
Karsten Hopp |
fe3272 |
+ while lnum <= line('$')
|
|
Karsten Hopp |
fe3272 |
+ let l = split(getline(lnum), '\s*;\s*', 1)
|
|
Karsten Hopp |
fe3272 |
+ if len(l) != 15
|
|
Karsten Hopp |
fe3272 |
+ echoerr 'Found ' . len(l) . ' items in line ' . lnum . ', expected 15'
|
|
Karsten Hopp |
fe3272 |
+ return
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ call add(s:dataprops, l)
|
|
Karsten Hopp |
fe3272 |
+ let lnum += 1
|
|
Karsten Hopp |
fe3272 |
+ endwhile
|
|
Karsten Hopp |
fe3272 |
+ endfunc
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " Parse lines of CaseFolding.txt. Creates a list of lists in s:foldprops.
|
|
Karsten Hopp |
fe3272 |
+ func! ParseFoldProps()
|
|
Karsten Hopp |
fe3272 |
+ let s:foldprops = []
|
|
Karsten Hopp |
fe3272 |
+ let lnum = 1
|
|
Karsten Hopp |
fe3272 |
+ while lnum <= line('$')
|
|
Karsten Hopp |
fe3272 |
+ let line = getline(lnum)
|
|
Karsten Hopp |
fe3272 |
+ if line !~ '^#' && line !~ '^\s*$'
|
|
Karsten Hopp |
fe3272 |
+ let l = split(line, '\s*;\s*', 1)
|
|
Karsten Hopp |
fe3272 |
+ if len(l) != 4
|
|
Karsten Hopp |
fe3272 |
+ echoerr 'Found ' . len(l) . ' items in line ' . lnum . ', expected 4'
|
|
Karsten Hopp |
fe3272 |
+ return
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ call add(s:foldprops, l)
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ let lnum += 1
|
|
Karsten Hopp |
fe3272 |
+ endwhile
|
|
Karsten Hopp |
fe3272 |
+ endfunc
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " Parse lines of EastAsianWidth.txt. Creates a list of lists in s:widthprops.
|
|
Karsten Hopp |
fe3272 |
+ func! ParseWidthProps()
|
|
Karsten Hopp |
fe3272 |
+ let s:widthprops = []
|
|
Karsten Hopp |
fe3272 |
+ let lnum = 1
|
|
Karsten Hopp |
fe3272 |
+ while lnum <= line('$')
|
|
Karsten Hopp |
fe3272 |
+ let line = getline(lnum)
|
|
Karsten Hopp |
fe3272 |
+ if line !~ '^#' && line !~ '^\s*$'
|
|
Karsten Hopp |
fe3272 |
+ let l = split(line, '\s*;\s*', 1)
|
|
Karsten Hopp |
fe3272 |
+ if len(l) != 2
|
|
Karsten Hopp |
fe3272 |
+ echoerr 'Found ' . len(l) . ' items in line ' . lnum . ', expected 2'
|
|
Karsten Hopp |
fe3272 |
+ return
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ call add(s:widthprops, l)
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ let lnum += 1
|
|
Karsten Hopp |
fe3272 |
+ endwhile
|
|
Karsten Hopp |
fe3272 |
+ endfunc
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " Build the toLower or toUpper table in a new buffer.
|
|
Karsten Hopp |
fe3272 |
+ " Uses s:dataprops.
|
|
Karsten Hopp |
fe3272 |
+ func! BuildCaseTable(name, index)
|
|
Karsten Hopp |
fe3272 |
+ let start = -1
|
|
Karsten Hopp |
fe3272 |
+ let end = -1
|
|
Karsten Hopp |
fe3272 |
+ let step = 0
|
|
Karsten Hopp |
fe3272 |
+ let add = -1
|
|
Karsten Hopp |
fe3272 |
+ let ranges = []
|
|
Karsten Hopp |
fe3272 |
+ for p in s:dataprops
|
|
Karsten Hopp |
fe3272 |
+ if p[a:index] != ''
|
|
Karsten Hopp |
fe3272 |
+ let n = ('0x' . p[0]) + 0
|
|
Karsten Hopp |
fe3272 |
+ let nl = ('0x' . p[a:index]) + 0
|
|
Karsten Hopp |
fe3272 |
+ if start >= 0 && add == nl - n && (step == 0 || n - end == step)
|
|
Karsten Hopp |
fe3272 |
+ " continue with same range.
|
|
Karsten Hopp |
fe3272 |
+ let step = n - end
|
|
Karsten Hopp |
fe3272 |
+ let end = n
|
|
Karsten Hopp |
fe3272 |
+ else
|
|
Karsten Hopp |
fe3272 |
+ if start >= 0
|
|
Karsten Hopp |
fe3272 |
+ " produce previous range
|
|
Karsten Hopp |
fe3272 |
+ call Range(ranges, start, end, step, add)
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ let start = n
|
|
Karsten Hopp |
fe3272 |
+ let end = n
|
|
Karsten Hopp |
fe3272 |
+ let step = 0
|
|
Karsten Hopp |
fe3272 |
+ let add = nl - n
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ endfor
|
|
Karsten Hopp |
fe3272 |
+ if start >= 0
|
|
Karsten Hopp |
fe3272 |
+ call Range(ranges, start, end, step, add)
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " New buffer to put the result in.
|
|
Karsten Hopp |
fe3272 |
+ new
|
|
Karsten Hopp |
fe3272 |
+ exe "file to" . a:name
|
|
Karsten Hopp |
fe3272 |
+ call setline(1, "static convertStruct to" . a:name . "[] =")
|
|
Karsten Hopp |
fe3272 |
+ call setline(2, "{")
|
|
Karsten Hopp |
fe3272 |
+ call append('$', ranges)
|
|
Karsten Hopp |
fe3272 |
+ call setline('$', getline('$')[:-2]) " remove last comma
|
|
Karsten Hopp |
fe3272 |
+ call setline(line('$') + 1, "};")
|
|
Karsten Hopp |
fe3272 |
+ wincmd p
|
|
Karsten Hopp |
fe3272 |
+ endfunc
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " Build the foldCase table in a new buffer.
|
|
Karsten Hopp |
fe3272 |
+ " Uses s:foldprops.
|
|
Karsten Hopp |
fe3272 |
+ func! BuildFoldTable()
|
|
Karsten Hopp |
fe3272 |
+ let start = -1
|
|
Karsten Hopp |
fe3272 |
+ let end = -1
|
|
Karsten Hopp |
fe3272 |
+ let step = 0
|
|
Karsten Hopp |
fe3272 |
+ let add = -1
|
|
Karsten Hopp |
fe3272 |
+ let ranges = []
|
|
Karsten Hopp |
fe3272 |
+ for p in s:foldprops
|
|
Karsten Hopp |
fe3272 |
+ if p[1] == 'C' || p[1] == 'S'
|
|
Karsten Hopp |
fe3272 |
+ let n = ('0x' . p[0]) + 0
|
|
Karsten Hopp |
fe3272 |
+ let nl = ('0x' . p[2]) + 0
|
|
Karsten Hopp |
fe3272 |
+ if start >= 0 && add == nl - n && (step == 0 || n - end == step)
|
|
Karsten Hopp |
fe3272 |
+ " continue with same range.
|
|
Karsten Hopp |
fe3272 |
+ let step = n - end
|
|
Karsten Hopp |
fe3272 |
+ let end = n
|
|
Karsten Hopp |
fe3272 |
+ else
|
|
Karsten Hopp |
fe3272 |
+ if start >= 0
|
|
Karsten Hopp |
fe3272 |
+ " produce previous range
|
|
Karsten Hopp |
fe3272 |
+ call Range(ranges, start, end, step, add)
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ let start = n
|
|
Karsten Hopp |
fe3272 |
+ let end = n
|
|
Karsten Hopp |
fe3272 |
+ let step = 0
|
|
Karsten Hopp |
fe3272 |
+ let add = nl - n
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ endfor
|
|
Karsten Hopp |
fe3272 |
+ if start >= 0
|
|
Karsten Hopp |
fe3272 |
+ call Range(ranges, start, end, step, add)
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " New buffer to put the result in.
|
|
Karsten Hopp |
fe3272 |
+ new
|
|
Karsten Hopp |
fe3272 |
+ file foldCase
|
|
Karsten Hopp |
fe3272 |
+ call setline(1, "static convertStruct foldCase[] =")
|
|
Karsten Hopp |
fe3272 |
+ call setline(2, "{")
|
|
Karsten Hopp |
fe3272 |
+ call append('$', ranges)
|
|
Karsten Hopp |
fe3272 |
+ call setline('$', getline('$')[:-2]) " remove last comma
|
|
Karsten Hopp |
fe3272 |
+ call setline(line('$') + 1, "};")
|
|
Karsten Hopp |
fe3272 |
+ wincmd p
|
|
Karsten Hopp |
fe3272 |
+ endfunc
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ func! Range(ranges, start, end, step, add)
|
|
Karsten Hopp |
fe3272 |
+ let s = printf("\t{0x%x,0x%x,%d,%d},", a:start, a:end, a:step == 0 ? -1 : a:step, a:add)
|
|
Karsten Hopp |
fe3272 |
+ call add(a:ranges, s)
|
|
Karsten Hopp |
fe3272 |
+ endfunc
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " Build the combining table.
|
|
Karsten Hopp |
fe3272 |
+ " Uses s:dataprops.
|
|
Karsten Hopp |
fe3272 |
+ func! BuildCombiningTable()
|
|
Karsten Hopp |
fe3272 |
+ let start = -1
|
|
Karsten Hopp |
fe3272 |
+ let end = -1
|
|
Karsten Hopp |
fe3272 |
+ let ranges = []
|
|
Karsten Hopp |
fe3272 |
+ for p in s:dataprops
|
|
Karsten Hopp |
fe3272 |
+ if p[2] == 'Mn' || p[2] == 'Mc' || p[2] == 'Me'
|
|
Karsten Hopp |
fe3272 |
+ let n = ('0x' . p[0]) + 0
|
|
Karsten Hopp |
fe3272 |
+ if start >= 0 && end + 1 == n
|
|
Karsten Hopp |
fe3272 |
+ " continue with same range.
|
|
Karsten Hopp |
fe3272 |
+ let end = n
|
|
Karsten Hopp |
fe3272 |
+ else
|
|
Karsten Hopp |
fe3272 |
+ if start >= 0
|
|
Karsten Hopp |
fe3272 |
+ " produce previous range
|
|
Karsten Hopp |
fe3272 |
+ call add(ranges, printf("\t{0x%04x, 0x%04x},", start, end))
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ let start = n
|
|
Karsten Hopp |
fe3272 |
+ let end = n
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ endfor
|
|
Karsten Hopp |
fe3272 |
+ if start >= 0
|
|
Karsten Hopp |
fe3272 |
+ call add(ranges, printf("\t{0x%04x, 0x%04x},", start, end))
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " New buffer to put the result in.
|
|
Karsten Hopp |
fe3272 |
+ new
|
|
Karsten Hopp |
fe3272 |
+ file combining
|
|
Karsten Hopp |
fe3272 |
+ call setline(1, " static struct interval combining[] =")
|
|
Karsten Hopp |
fe3272 |
+ call setline(2, " {")
|
|
Karsten Hopp |
fe3272 |
+ call append('$', ranges)
|
|
Karsten Hopp |
fe3272 |
+ call setline('$', getline('$')[:-2]) " remove last comma
|
|
Karsten Hopp |
fe3272 |
+ call setline(line('$') + 1, " };")
|
|
Karsten Hopp |
fe3272 |
+ wincmd p
|
|
Karsten Hopp |
fe3272 |
+ endfunc
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " Build the ambiguous table in a new buffer.
|
|
Karsten Hopp |
fe3272 |
+ " Uses s:widthprops and s:dataprops.
|
|
Karsten Hopp |
fe3272 |
+ func! BuildAmbiguousTable()
|
|
Karsten Hopp |
fe3272 |
+ let start = -1
|
|
Karsten Hopp |
fe3272 |
+ let end = -1
|
|
Karsten Hopp |
fe3272 |
+ let ranges = []
|
|
Karsten Hopp |
fe3272 |
+ let dataidx = 0
|
|
Karsten Hopp |
fe3272 |
+ for p in s:widthprops
|
|
Karsten Hopp |
fe3272 |
+ if p[1][0] == 'A'
|
|
Karsten Hopp |
fe3272 |
+ let n = ('0x' . p[0]) + 0
|
|
Karsten Hopp |
fe3272 |
+ " Find this char in the data table.
|
|
Karsten Hopp |
fe3272 |
+ while 1
|
|
Karsten Hopp |
fe3272 |
+ let dn = ('0x' . s:dataprops[dataidx][0]) + 0
|
|
Karsten Hopp |
fe3272 |
+ if dn >= n
|
|
Karsten Hopp |
fe3272 |
+ break
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ let dataidx += 1
|
|
Karsten Hopp |
fe3272 |
+ endwhile
|
|
Karsten Hopp |
fe3272 |
+ if dn != n
|
|
Karsten Hopp |
fe3272 |
+ echoerr "Cannot find character " . n . " in data table"
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ " Only use the char when it's not a composing char.
|
|
Karsten Hopp |
fe3272 |
+ let dp = s:dataprops[dataidx]
|
|
Karsten Hopp |
fe3272 |
+ if dp[2] != 'Mn' && dp[2] != 'Mc' && dp[2] != 'Me'
|
|
Karsten Hopp |
fe3272 |
+ if start >= 0 && end + 1 == n
|
|
Karsten Hopp |
fe3272 |
+ " continue with same range.
|
|
Karsten Hopp |
fe3272 |
+ let end = n
|
|
Karsten Hopp |
fe3272 |
+ else
|
|
Karsten Hopp |
fe3272 |
+ if start >= 0
|
|
Karsten Hopp |
fe3272 |
+ " produce previous range
|
|
Karsten Hopp |
fe3272 |
+ call add(ranges, printf("\t{0x%04x, 0x%04x},", start, end))
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ let start = n
|
|
Karsten Hopp |
fe3272 |
+ if p[0] =~ '\.\.'
|
|
Karsten Hopp |
fe3272 |
+ let end = ('0x' . substitute(p[0], '.*\.\.', '', '')) + 0
|
|
Karsten Hopp |
fe3272 |
+ else
|
|
Karsten Hopp |
fe3272 |
+ let end = n
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+ endfor
|
|
Karsten Hopp |
fe3272 |
+ if start >= 0
|
|
Karsten Hopp |
fe3272 |
+ call add(ranges, printf("\t{0x%04x, 0x%04x},", start, end))
|
|
Karsten Hopp |
fe3272 |
+ endif
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " New buffer to put the result in.
|
|
Karsten Hopp |
fe3272 |
+ new
|
|
Karsten Hopp |
fe3272 |
+ file ambiguous
|
|
Karsten Hopp |
fe3272 |
+ call setline(1, " static struct interval ambiguous[] =")
|
|
Karsten Hopp |
fe3272 |
+ call setline(2, " {")
|
|
Karsten Hopp |
fe3272 |
+ call append('$', ranges)
|
|
Karsten Hopp |
fe3272 |
+ call setline('$', getline('$')[:-2]) " remove last comma
|
|
Karsten Hopp |
fe3272 |
+ call setline(line('$') + 1, " };")
|
|
Karsten Hopp |
fe3272 |
+ wincmd p
|
|
Karsten Hopp |
fe3272 |
+ endfunc
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " Edit the Unicode text file. Requires the netrw plugin.
|
|
Karsten Hopp |
fe3272 |
+ edit http://unicode.org/Public/UNIDATA/UnicodeData.txt
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " Parse each line, create a list of lists.
|
|
Karsten Hopp |
fe3272 |
+ call ParseDataToProps()
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " Build the toLower table.
|
|
Karsten Hopp |
fe3272 |
+ call BuildCaseTable("Lower", 13)
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " Build the toUpper table.
|
|
Karsten Hopp |
fe3272 |
+ call BuildCaseTable("Upper", 12)
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " Build the ranges of composing chars.
|
|
Karsten Hopp |
fe3272 |
+ call BuildCombiningTable()
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " Edit the case folding text file. Requires the netrw plugin.
|
|
Karsten Hopp |
fe3272 |
+ edit http://www.unicode.org/Public/UNIDATA/CaseFolding.txt
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " Parse each line, create a list of lists.
|
|
Karsten Hopp |
fe3272 |
+ call ParseFoldProps()
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " Build the foldCase table.
|
|
Karsten Hopp |
fe3272 |
+ call BuildFoldTable()
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " Edit the width text file. Requires the netrw plugin.
|
|
Karsten Hopp |
fe3272 |
+ edit http://www.unicode.org/Public/UNIDATA/EastAsianWidth.txt
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " Parse each line, create a list of lists.
|
|
Karsten Hopp |
fe3272 |
+ call ParseWidthProps()
|
|
Karsten Hopp |
fe3272 |
+
|
|
Karsten Hopp |
fe3272 |
+ " Build the ambiguous table.
|
|
Karsten Hopp |
fe3272 |
+ call BuildAmbiguousTable()
|
|
Karsten Hopp |
fe3272 |
*** ../vim-7.2.329/src/mbyte.c 2009-12-02 15:03:24.000000000 +0100
|
|
Karsten Hopp |
fe3272 |
--- src/mbyte.c 2010-01-12 19:35:49.000000000 +0100
|
|
Karsten Hopp |
fe3272 |
***************
|
|
Karsten Hopp |
fe3272 |
*** 26,32 ****
|
|
Karsten Hopp |
fe3272 |
* Recognizing bytes is easy: 0xxx.xxxx is a single-byte
|
|
Karsten Hopp |
fe3272 |
* char, 10xx.xxxx is a trailing byte, 11xx.xxxx is a leading
|
|
Karsten Hopp |
fe3272 |
* byte of a multi-byte character.
|
|
Karsten Hopp |
fe3272 |
! * To make things complicated, up to two composing characters
|
|
Karsten Hopp |
fe3272 |
* are allowed. These are drawn on top of the first char.
|
|
Karsten Hopp |
fe3272 |
* For most editing the sequence of bytes with composing
|
|
Karsten Hopp |
fe3272 |
* characters included is considered to be one character.
|
|
Karsten Hopp |
fe3272 |
--- 26,32 ----
|
|
Karsten Hopp |
fe3272 |
* Recognizing bytes is easy: 0xxx.xxxx is a single-byte
|
|
Karsten Hopp |
fe3272 |
* char, 10xx.xxxx is a trailing byte, 11xx.xxxx is a leading
|
|
Karsten Hopp |
fe3272 |
* byte of a multi-byte character.
|
|
Karsten Hopp |
fe3272 |
! * To make things complicated, up to six composing characters
|
|
Karsten Hopp |
fe3272 |
* are allowed. These are drawn on top of the first char.
|
|
Karsten Hopp |
fe3272 |
* For most editing the sequence of bytes with composing
|
|
Karsten Hopp |
fe3272 |
* characters included is considered to be one character.
|
|
Karsten Hopp |
fe3272 |
***************
|
|
Karsten Hopp |
fe3272 |
*** 1153,1160 ****
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
struct interval
|
|
Karsten Hopp |
fe3272 |
{
|
|
Karsten Hopp |
fe3272 |
! unsigned short first;
|
|
Karsten Hopp |
fe3272 |
! unsigned short last;
|
|
Karsten Hopp |
fe3272 |
};
|
|
Karsten Hopp |
fe3272 |
static int intable __ARGS((struct interval *table, size_t size, int c));
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
--- 1153,1160 ----
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
struct interval
|
|
Karsten Hopp |
fe3272 |
{
|
|
Karsten Hopp |
fe3272 |
! long first;
|
|
Karsten Hopp |
fe3272 |
! long last;
|
|
Karsten Hopp |
fe3272 |
};
|
|
Karsten Hopp |
fe3272 |
static int intable __ARGS((struct interval *table, size_t size, int c));
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
***************
|
|
Karsten Hopp |
fe3272 |
*** 1200,1261 ****
|
|
Karsten Hopp |
fe3272 |
utf_char2cells(c)
|
|
Karsten Hopp |
fe3272 |
int c;
|
|
Karsten Hopp |
fe3272 |
{
|
|
Karsten Hopp |
fe3272 |
! /* sorted list of non-overlapping intervals of East Asian Ambiguous
|
|
Karsten Hopp |
fe3272 |
! * characters, generated with:
|
|
Karsten Hopp |
fe3272 |
! * "uniset +WIDTH-A -cat=Me -cat=Mn -cat=Cf c" */
|
|
Karsten Hopp |
fe3272 |
! static struct interval ambiguous[] = {
|
|
Karsten Hopp |
fe3272 |
! {0x00A1, 0x00A1}, {0x00A4, 0x00A4}, {0x00A7, 0x00A8},
|
|
Karsten Hopp |
fe3272 |
! {0x00AA, 0x00AA}, {0x00AE, 0x00AE}, {0x00B0, 0x00B4},
|
|
Karsten Hopp |
fe3272 |
! {0x00B6, 0x00BA}, {0x00BC, 0x00BF}, {0x00C6, 0x00C6},
|
|
Karsten Hopp |
fe3272 |
! {0x00D0, 0x00D0}, {0x00D7, 0x00D8}, {0x00DE, 0x00E1},
|
|
Karsten Hopp |
fe3272 |
! {0x00E6, 0x00E6}, {0x00E8, 0x00EA}, {0x00EC, 0x00ED},
|
|
Karsten Hopp |
fe3272 |
! {0x00F0, 0x00F0}, {0x00F2, 0x00F3}, {0x00F7, 0x00FA},
|
|
Karsten Hopp |
fe3272 |
! {0x00FC, 0x00FC}, {0x00FE, 0x00FE}, {0x0101, 0x0101},
|
|
Karsten Hopp |
fe3272 |
! {0x0111, 0x0111}, {0x0113, 0x0113}, {0x011B, 0x011B},
|
|
Karsten Hopp |
fe3272 |
! {0x0126, 0x0127}, {0x012B, 0x012B}, {0x0131, 0x0133},
|
|
Karsten Hopp |
fe3272 |
! {0x0138, 0x0138}, {0x013F, 0x0142}, {0x0144, 0x0144},
|
|
Karsten Hopp |
fe3272 |
! {0x0148, 0x014B}, {0x014D, 0x014D}, {0x0152, 0x0153},
|
|
Karsten Hopp |
fe3272 |
! {0x0166, 0x0167}, {0x016B, 0x016B}, {0x01CE, 0x01CE},
|
|
Karsten Hopp |
fe3272 |
! {0x01D0, 0x01D0}, {0x01D2, 0x01D2}, {0x01D4, 0x01D4},
|
|
Karsten Hopp |
fe3272 |
! {0x01D6, 0x01D6}, {0x01D8, 0x01D8}, {0x01DA, 0x01DA},
|
|
Karsten Hopp |
fe3272 |
! {0x01DC, 0x01DC}, {0x0251, 0x0251}, {0x0261, 0x0261},
|
|
Karsten Hopp |
fe3272 |
! {0x02C4, 0x02C4}, {0x02C7, 0x02C7}, {0x02C9, 0x02CB},
|
|
Karsten Hopp |
fe3272 |
! {0x02CD, 0x02CD}, {0x02D0, 0x02D0}, {0x02D8, 0x02DB},
|
|
Karsten Hopp |
fe3272 |
! {0x02DD, 0x02DD}, {0x02DF, 0x02DF}, {0x0391, 0x03A1},
|
|
Karsten Hopp |
fe3272 |
! {0x03A3, 0x03A9}, {0x03B1, 0x03C1}, {0x03C3, 0x03C9},
|
|
Karsten Hopp |
fe3272 |
! {0x0401, 0x0401}, {0x0410, 0x044F}, {0x0451, 0x0451},
|
|
Karsten Hopp |
fe3272 |
! {0x2010, 0x2010}, {0x2013, 0x2016}, {0x2018, 0x2019},
|
|
Karsten Hopp |
fe3272 |
! {0x201C, 0x201D}, {0x2020, 0x2022}, {0x2024, 0x2027},
|
|
Karsten Hopp |
fe3272 |
! {0x2030, 0x2030}, {0x2032, 0x2033}, {0x2035, 0x2035},
|
|
Karsten Hopp |
fe3272 |
! {0x203B, 0x203B}, {0x203E, 0x203E}, {0x2074, 0x2074},
|
|
Karsten Hopp |
fe3272 |
! {0x207F, 0x207F}, {0x2081, 0x2084}, {0x20AC, 0x20AC},
|
|
Karsten Hopp |
fe3272 |
! {0x2103, 0x2103}, {0x2105, 0x2105}, {0x2109, 0x2109},
|
|
Karsten Hopp |
fe3272 |
! {0x2113, 0x2113}, {0x2116, 0x2116}, {0x2121, 0x2122},
|
|
Karsten Hopp |
fe3272 |
! {0x2126, 0x2126}, {0x212B, 0x212B}, {0x2153, 0x2154},
|
|
Karsten Hopp |
fe3272 |
! {0x215B, 0x215E}, {0x2160, 0x216B}, {0x2170, 0x2179},
|
|
Karsten Hopp |
fe3272 |
! {0x2190, 0x2199}, {0x21B8, 0x21B9}, {0x21D2, 0x21D2},
|
|
Karsten Hopp |
fe3272 |
! {0x21D4, 0x21D4}, {0x21E7, 0x21E7}, {0x2200, 0x2200},
|
|
Karsten Hopp |
fe3272 |
! {0x2202, 0x2203}, {0x2207, 0x2208}, {0x220B, 0x220B},
|
|
Karsten Hopp |
fe3272 |
! {0x220F, 0x220F}, {0x2211, 0x2211}, {0x2215, 0x2215},
|
|
Karsten Hopp |
fe3272 |
! {0x221A, 0x221A}, {0x221D, 0x2220}, {0x2223, 0x2223},
|
|
Karsten Hopp |
fe3272 |
! {0x2225, 0x2225}, {0x2227, 0x222C}, {0x222E, 0x222E},
|
|
Karsten Hopp |
fe3272 |
! {0x2234, 0x2237}, {0x223C, 0x223D}, {0x2248, 0x2248},
|
|
Karsten Hopp |
fe3272 |
! {0x224C, 0x224C}, {0x2252, 0x2252}, {0x2260, 0x2261},
|
|
Karsten Hopp |
fe3272 |
! {0x2264, 0x2267}, {0x226A, 0x226B}, {0x226E, 0x226F},
|
|
Karsten Hopp |
fe3272 |
! {0x2282, 0x2283}, {0x2286, 0x2287}, {0x2295, 0x2295},
|
|
Karsten Hopp |
fe3272 |
! {0x2299, 0x2299}, {0x22A5, 0x22A5}, {0x22BF, 0x22BF},
|
|
Karsten Hopp |
fe3272 |
! {0x2312, 0x2312}, {0x2460, 0x24E9}, {0x24EB, 0x254B},
|
|
Karsten Hopp |
fe3272 |
! {0x2550, 0x2573}, {0x2580, 0x258F}, {0x2592, 0x2595},
|
|
Karsten Hopp |
fe3272 |
! {0x25A0, 0x25A1}, {0x25A3, 0x25A9}, {0x25B2, 0x25B3},
|
|
Karsten Hopp |
fe3272 |
! {0x25B6, 0x25B7}, {0x25BC, 0x25BD}, {0x25C0, 0x25C1},
|
|
Karsten Hopp |
fe3272 |
! {0x25C6, 0x25C8}, {0x25CB, 0x25CB}, {0x25CE, 0x25D1},
|
|
Karsten Hopp |
fe3272 |
! {0x25E2, 0x25E5}, {0x25EF, 0x25EF}, {0x2605, 0x2606},
|
|
Karsten Hopp |
fe3272 |
! {0x2609, 0x2609}, {0x260E, 0x260F}, {0x2614, 0x2615},
|
|
Karsten Hopp |
fe3272 |
! {0x261C, 0x261C}, {0x261E, 0x261E}, {0x2640, 0x2640},
|
|
Karsten Hopp |
fe3272 |
! {0x2642, 0x2642}, {0x2660, 0x2661}, {0x2663, 0x2665},
|
|
Karsten Hopp |
fe3272 |
! {0x2667, 0x266A}, {0x266C, 0x266D}, {0x266F, 0x266F},
|
|
Karsten Hopp |
fe3272 |
! {0x273D, 0x273D}, {0x2776, 0x277F}, {0xE000, 0xF8FF},
|
|
Karsten Hopp |
fe3272 |
! {0xFFFD, 0xFFFD}, /* {0xF0000, 0xFFFFD}, {0x100000, 0x10FFFD} */
|
|
Karsten Hopp |
fe3272 |
};
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
if (c >= 0x100)
|
|
Karsten Hopp |
fe3272 |
--- 1200,1390 ----
|
|
Karsten Hopp |
fe3272 |
utf_char2cells(c)
|
|
Karsten Hopp |
fe3272 |
int c;
|
|
Karsten Hopp |
fe3272 |
{
|
|
Karsten Hopp |
fe3272 |
! /* Sorted list of non-overlapping intervals of East Asian Ambiguous
|
|
Karsten Hopp |
fe3272 |
! * characters, generated with ../runtime/tools/unicode.vim. */
|
|
Karsten Hopp |
fe3272 |
! static struct interval ambiguous[] =
|
|
Karsten Hopp |
fe3272 |
! {
|
|
Karsten Hopp |
fe3272 |
! {0x00a1, 0x00a1},
|
|
Karsten Hopp |
fe3272 |
! {0x00a4, 0x00a4},
|
|
Karsten Hopp |
fe3272 |
! {0x00a7, 0x00a8},
|
|
Karsten Hopp |
fe3272 |
! {0x00aa, 0x00aa},
|
|
Karsten Hopp |
fe3272 |
! {0x00ad, 0x00ae},
|
|
Karsten Hopp |
fe3272 |
! {0x00b0, 0x00b4},
|
|
Karsten Hopp |
fe3272 |
! {0x00b6, 0x00ba},
|
|
Karsten Hopp |
fe3272 |
! {0x00bc, 0x00bf},
|
|
Karsten Hopp |
fe3272 |
! {0x00c6, 0x00c6},
|
|
Karsten Hopp |
fe3272 |
! {0x00d0, 0x00d0},
|
|
Karsten Hopp |
fe3272 |
! {0x00d7, 0x00d8},
|
|
Karsten Hopp |
fe3272 |
! {0x00de, 0x00e1},
|
|
Karsten Hopp |
fe3272 |
! {0x00e6, 0x00e6},
|
|
Karsten Hopp |
fe3272 |
! {0x00e8, 0x00ea},
|
|
Karsten Hopp |
fe3272 |
! {0x00ec, 0x00ed},
|
|
Karsten Hopp |
fe3272 |
! {0x00f0, 0x00f0},
|
|
Karsten Hopp |
fe3272 |
! {0x00f2, 0x00f3},
|
|
Karsten Hopp |
fe3272 |
! {0x00f7, 0x00fa},
|
|
Karsten Hopp |
fe3272 |
! {0x00fc, 0x00fc},
|
|
Karsten Hopp |
fe3272 |
! {0x00fe, 0x00fe},
|
|
Karsten Hopp |
fe3272 |
! {0x0101, 0x0101},
|
|
Karsten Hopp |
fe3272 |
! {0x0111, 0x0111},
|
|
Karsten Hopp |
fe3272 |
! {0x0113, 0x0113},
|
|
Karsten Hopp |
fe3272 |
! {0x011b, 0x011b},
|
|
Karsten Hopp |
fe3272 |
! {0x0126, 0x0127},
|
|
Karsten Hopp |
fe3272 |
! {0x012b, 0x012b},
|
|
Karsten Hopp |
fe3272 |
! {0x0131, 0x0133},
|
|
Karsten Hopp |
fe3272 |
! {0x0138, 0x0138},
|
|
Karsten Hopp |
fe3272 |
! {0x013f, 0x0142},
|
|
Karsten Hopp |
fe3272 |
! {0x0144, 0x0144},
|
|
Karsten Hopp |
fe3272 |
! {0x0148, 0x014b},
|
|
Karsten Hopp |
fe3272 |
! {0x014d, 0x014d},
|
|
Karsten Hopp |
fe3272 |
! {0x0152, 0x0153},
|
|
Karsten Hopp |
fe3272 |
! {0x0166, 0x0167},
|
|
Karsten Hopp |
fe3272 |
! {0x016b, 0x016b},
|
|
Karsten Hopp |
fe3272 |
! {0x01ce, 0x01ce},
|
|
Karsten Hopp |
fe3272 |
! {0x01d0, 0x01d0},
|
|
Karsten Hopp |
fe3272 |
! {0x01d2, 0x01d2},
|
|
Karsten Hopp |
fe3272 |
! {0x01d4, 0x01d4},
|
|
Karsten Hopp |
fe3272 |
! {0x01d6, 0x01d6},
|
|
Karsten Hopp |
fe3272 |
! {0x01d8, 0x01d8},
|
|
Karsten Hopp |
fe3272 |
! {0x01da, 0x01da},
|
|
Karsten Hopp |
fe3272 |
! {0x01dc, 0x01dc},
|
|
Karsten Hopp |
fe3272 |
! {0x0251, 0x0251},
|
|
Karsten Hopp |
fe3272 |
! {0x0261, 0x0261},
|
|
Karsten Hopp |
fe3272 |
! {0x02c4, 0x02c4},
|
|
Karsten Hopp |
fe3272 |
! {0x02c7, 0x02c7},
|
|
Karsten Hopp |
fe3272 |
! {0x02c9, 0x02cb},
|
|
Karsten Hopp |
fe3272 |
! {0x02cd, 0x02cd},
|
|
Karsten Hopp |
fe3272 |
! {0x02d0, 0x02d0},
|
|
Karsten Hopp |
fe3272 |
! {0x02d8, 0x02db},
|
|
Karsten Hopp |
fe3272 |
! {0x02dd, 0x02dd},
|
|
Karsten Hopp |
fe3272 |
! {0x02df, 0x02df},
|
|
Karsten Hopp |
fe3272 |
! {0x0391, 0x03a1},
|
|
Karsten Hopp |
fe3272 |
! {0x03a3, 0x03a9},
|
|
Karsten Hopp |
fe3272 |
! {0x03b1, 0x03c1},
|
|
Karsten Hopp |
fe3272 |
! {0x03c3, 0x03c9},
|
|
Karsten Hopp |
fe3272 |
! {0x0401, 0x0401},
|
|
Karsten Hopp |
fe3272 |
! {0x0410, 0x044f},
|
|
Karsten Hopp |
fe3272 |
! {0x0451, 0x0451},
|
|
Karsten Hopp |
fe3272 |
! {0x2010, 0x2010},
|
|
Karsten Hopp |
fe3272 |
! {0x2013, 0x2016},
|
|
Karsten Hopp |
fe3272 |
! {0x2018, 0x2019},
|
|
Karsten Hopp |
fe3272 |
! {0x201c, 0x201d},
|
|
Karsten Hopp |
fe3272 |
! {0x2020, 0x2022},
|
|
Karsten Hopp |
fe3272 |
! {0x2024, 0x2027},
|
|
Karsten Hopp |
fe3272 |
! {0x2030, 0x2030},
|
|
Karsten Hopp |
fe3272 |
! {0x2032, 0x2033},
|
|
Karsten Hopp |
fe3272 |
! {0x2035, 0x2035},
|
|
Karsten Hopp |
fe3272 |
! {0x203b, 0x203b},
|
|
Karsten Hopp |
fe3272 |
! {0x203e, 0x203e},
|
|
Karsten Hopp |
fe3272 |
! {0x2074, 0x2074},
|
|
Karsten Hopp |
fe3272 |
! {0x207f, 0x207f},
|
|
Karsten Hopp |
fe3272 |
! {0x2081, 0x2084},
|
|
Karsten Hopp |
fe3272 |
! {0x20ac, 0x20ac},
|
|
Karsten Hopp |
fe3272 |
! {0x2103, 0x2103},
|
|
Karsten Hopp |
fe3272 |
! {0x2105, 0x2105},
|
|
Karsten Hopp |
fe3272 |
! {0x2109, 0x2109},
|
|
Karsten Hopp |
fe3272 |
! {0x2113, 0x2113},
|
|
Karsten Hopp |
fe3272 |
! {0x2116, 0x2116},
|
|
Karsten Hopp |
fe3272 |
! {0x2121, 0x2122},
|
|
Karsten Hopp |
fe3272 |
! {0x2126, 0x2126},
|
|
Karsten Hopp |
fe3272 |
! {0x212b, 0x212b},
|
|
Karsten Hopp |
fe3272 |
! {0x2153, 0x2154},
|
|
Karsten Hopp |
fe3272 |
! {0x215b, 0x215e},
|
|
Karsten Hopp |
fe3272 |
! {0x2160, 0x216b},
|
|
Karsten Hopp |
fe3272 |
! {0x2170, 0x2179},
|
|
Karsten Hopp |
fe3272 |
! {0x2189, 0x2189},
|
|
Karsten Hopp |
fe3272 |
! {0x2190, 0x2199},
|
|
Karsten Hopp |
fe3272 |
! {0x21b8, 0x21b9},
|
|
Karsten Hopp |
fe3272 |
! {0x21d2, 0x21d2},
|
|
Karsten Hopp |
fe3272 |
! {0x21d4, 0x21d4},
|
|
Karsten Hopp |
fe3272 |
! {0x21e7, 0x21e7},
|
|
Karsten Hopp |
fe3272 |
! {0x2200, 0x2200},
|
|
Karsten Hopp |
fe3272 |
! {0x2202, 0x2203},
|
|
Karsten Hopp |
fe3272 |
! {0x2207, 0x2208},
|
|
Karsten Hopp |
fe3272 |
! {0x220b, 0x220b},
|
|
Karsten Hopp |
fe3272 |
! {0x220f, 0x220f},
|
|
Karsten Hopp |
fe3272 |
! {0x2211, 0x2211},
|
|
Karsten Hopp |
fe3272 |
! {0x2215, 0x2215},
|
|
Karsten Hopp |
fe3272 |
! {0x221a, 0x221a},
|
|
Karsten Hopp |
fe3272 |
! {0x221d, 0x2220},
|
|
Karsten Hopp |
fe3272 |
! {0x2223, 0x2223},
|
|
Karsten Hopp |
fe3272 |
! {0x2225, 0x2225},
|
|
Karsten Hopp |
fe3272 |
! {0x2227, 0x222c},
|
|
Karsten Hopp |
fe3272 |
! {0x222e, 0x222e},
|
|
Karsten Hopp |
fe3272 |
! {0x2234, 0x2237},
|
|
Karsten Hopp |
fe3272 |
! {0x223c, 0x223d},
|
|
Karsten Hopp |
fe3272 |
! {0x2248, 0x2248},
|
|
Karsten Hopp |
fe3272 |
! {0x224c, 0x224c},
|
|
Karsten Hopp |
fe3272 |
! {0x2252, 0x2252},
|
|
Karsten Hopp |
fe3272 |
! {0x2260, 0x2261},
|
|
Karsten Hopp |
fe3272 |
! {0x2264, 0x2267},
|
|
Karsten Hopp |
fe3272 |
! {0x226a, 0x226b},
|
|
Karsten Hopp |
fe3272 |
! {0x226e, 0x226f},
|
|
Karsten Hopp |
fe3272 |
! {0x2282, 0x2283},
|
|
Karsten Hopp |
fe3272 |
! {0x2286, 0x2287},
|
|
Karsten Hopp |
fe3272 |
! {0x2295, 0x2295},
|
|
Karsten Hopp |
fe3272 |
! {0x2299, 0x2299},
|
|
Karsten Hopp |
fe3272 |
! {0x22a5, 0x22a5},
|
|
Karsten Hopp |
fe3272 |
! {0x22bf, 0x22bf},
|
|
Karsten Hopp |
fe3272 |
! {0x2312, 0x2312},
|
|
Karsten Hopp |
fe3272 |
! {0x2460, 0x24e9},
|
|
Karsten Hopp |
fe3272 |
! {0x24eb, 0x254b},
|
|
Karsten Hopp |
fe3272 |
! {0x2550, 0x2573},
|
|
Karsten Hopp |
fe3272 |
! {0x2580, 0x258f},
|
|
Karsten Hopp |
fe3272 |
! {0x2592, 0x2595},
|
|
Karsten Hopp |
fe3272 |
! {0x25a0, 0x25a1},
|
|
Karsten Hopp |
fe3272 |
! {0x25a3, 0x25a9},
|
|
Karsten Hopp |
fe3272 |
! {0x25b2, 0x25b3},
|
|
Karsten Hopp |
fe3272 |
! {0x25b6, 0x25b7},
|
|
Karsten Hopp |
fe3272 |
! {0x25bc, 0x25bd},
|
|
Karsten Hopp |
fe3272 |
! {0x25c0, 0x25c1},
|
|
Karsten Hopp |
fe3272 |
! {0x25c6, 0x25c8},
|
|
Karsten Hopp |
fe3272 |
! {0x25cb, 0x25cb},
|
|
Karsten Hopp |
fe3272 |
! {0x25ce, 0x25d1},
|
|
Karsten Hopp |
fe3272 |
! {0x25e2, 0x25e5},
|
|
Karsten Hopp |
fe3272 |
! {0x25ef, 0x25ef},
|
|
Karsten Hopp |
fe3272 |
! {0x2605, 0x2606},
|
|
Karsten Hopp |
fe3272 |
! {0x2609, 0x2609},
|
|
Karsten Hopp |
fe3272 |
! {0x260e, 0x260f},
|
|
Karsten Hopp |
fe3272 |
! {0x2614, 0x2615},
|
|
Karsten Hopp |
fe3272 |
! {0x261c, 0x261c},
|
|
Karsten Hopp |
fe3272 |
! {0x261e, 0x261e},
|
|
Karsten Hopp |
fe3272 |
! {0x2640, 0x2640},
|
|
Karsten Hopp |
fe3272 |
! {0x2642, 0x2642},
|
|
Karsten Hopp |
fe3272 |
! {0x2660, 0x2661},
|
|
Karsten Hopp |
fe3272 |
! {0x2663, 0x2665},
|
|
Karsten Hopp |
fe3272 |
! {0x2667, 0x266a},
|
|
Karsten Hopp |
fe3272 |
! {0x266c, 0x266d},
|
|
Karsten Hopp |
fe3272 |
! {0x266f, 0x266f},
|
|
Karsten Hopp |
fe3272 |
! {0x269e, 0x269f},
|
|
Karsten Hopp |
fe3272 |
! {0x26be, 0x26bf},
|
|
Karsten Hopp |
fe3272 |
! {0x26c4, 0x26cd},
|
|
Karsten Hopp |
fe3272 |
! {0x26cf, 0x26e1},
|
|
Karsten Hopp |
fe3272 |
! {0x26e3, 0x26e3},
|
|
Karsten Hopp |
fe3272 |
! {0x26e8, 0x26ff},
|
|
Karsten Hopp |
fe3272 |
! {0x273d, 0x273d},
|
|
Karsten Hopp |
fe3272 |
! {0x2757, 0x2757},
|
|
Karsten Hopp |
fe3272 |
! {0x2776, 0x277f},
|
|
Karsten Hopp |
fe3272 |
! {0x2b55, 0x2b59},
|
|
Karsten Hopp |
fe3272 |
! {0x3248, 0x324f},
|
|
Karsten Hopp |
fe3272 |
! {0xe000, 0xf8ff},
|
|
Karsten Hopp |
fe3272 |
! {0xfffd, 0xfffd},
|
|
Karsten Hopp |
fe3272 |
! {0x1f100, 0x1f10a},
|
|
Karsten Hopp |
fe3272 |
! {0x1f110, 0x1f12d},
|
|
Karsten Hopp |
fe3272 |
! {0x1f131, 0x1f131},
|
|
Karsten Hopp |
fe3272 |
! {0x1f13d, 0x1f13d},
|
|
Karsten Hopp |
fe3272 |
! {0x1f13f, 0x1f13f},
|
|
Karsten Hopp |
fe3272 |
! {0x1f142, 0x1f142},
|
|
Karsten Hopp |
fe3272 |
! {0x1f146, 0x1f146},
|
|
Karsten Hopp |
fe3272 |
! {0x1f14a, 0x1f14e},
|
|
Karsten Hopp |
fe3272 |
! {0x1f157, 0x1f157},
|
|
Karsten Hopp |
fe3272 |
! {0x1f15f, 0x1f15f},
|
|
Karsten Hopp |
fe3272 |
! {0x1f179, 0x1f179},
|
|
Karsten Hopp |
fe3272 |
! {0x1f17b, 0x1f17c},
|
|
Karsten Hopp |
fe3272 |
! {0x1f17f, 0x1f17f},
|
|
Karsten Hopp |
fe3272 |
! {0x1f18a, 0x1f18d},
|
|
Karsten Hopp |
fe3272 |
! {0x1f190, 0x1f190},
|
|
Karsten Hopp |
fe3272 |
! {0xf0000, 0xffffd},
|
|
Karsten Hopp |
fe3272 |
! {0x100000, 0x10fffd}
|
|
Karsten Hopp |
fe3272 |
};
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
if (c >= 0x100)
|
|
Karsten Hopp |
fe3272 |
***************
|
|
Karsten Hopp |
fe3272 |
*** 1807,1813 ****
|
|
Karsten Hopp |
fe3272 |
return 1;
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
/*
|
|
Karsten Hopp |
fe3272 |
! * Check for composing characters. We can handle only the first two, but
|
|
Karsten Hopp |
fe3272 |
* skip all of them (otherwise the cursor would get stuck).
|
|
Karsten Hopp |
fe3272 |
*/
|
|
Karsten Hopp |
fe3272 |
#ifdef FEAT_ARABIC
|
|
Karsten Hopp |
fe3272 |
--- 1936,1942 ----
|
|
Karsten Hopp |
fe3272 |
return 1;
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
/*
|
|
Karsten Hopp |
fe3272 |
! * Check for composing characters. We can handle only the first six, but
|
|
Karsten Hopp |
fe3272 |
* skip all of them (otherwise the cursor would get stuck).
|
|
Karsten Hopp |
fe3272 |
*/
|
|
Karsten Hopp |
fe3272 |
#ifdef FEAT_ARABIC
|
|
Karsten Hopp |
fe3272 |
***************
|
|
Karsten Hopp |
fe3272 |
*** 1855,1861 ****
|
|
Karsten Hopp |
fe3272 |
return 1;
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
/*
|
|
Karsten Hopp |
fe3272 |
! * Check for composing characters. We can handle only the first two, but
|
|
Karsten Hopp |
fe3272 |
* skip all of them (otherwise the cursor would get stuck).
|
|
Karsten Hopp |
fe3272 |
*/
|
|
Karsten Hopp |
fe3272 |
#ifdef FEAT_ARABIC
|
|
Karsten Hopp |
fe3272 |
--- 1984,1990 ----
|
|
Karsten Hopp |
fe3272 |
return 1;
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
/*
|
|
Karsten Hopp |
fe3272 |
! * Check for composing characters. We can handle only the first six, but
|
|
Karsten Hopp |
fe3272 |
* skip all of them (otherwise the cursor would get stuck).
|
|
Karsten Hopp |
fe3272 |
*/
|
|
Karsten Hopp |
fe3272 |
#ifdef FEAT_ARABIC
|
|
Karsten Hopp |
fe3272 |
***************
|
|
Karsten Hopp |
fe3272 |
*** 1973,2010 ****
|
|
Karsten Hopp |
fe3272 |
utf_iscomposing(c)
|
|
Karsten Hopp |
fe3272 |
int c;
|
|
Karsten Hopp |
fe3272 |
{
|
|
Karsten Hopp |
fe3272 |
! /* sorted list of non-overlapping intervals */
|
|
Karsten Hopp |
fe3272 |
static struct interval combining[] =
|
|
Karsten Hopp |
fe3272 |
{
|
|
Karsten Hopp |
fe3272 |
! {0x0300, 0x034f}, {0x0360, 0x036f}, {0x0483, 0x0486}, {0x0488, 0x0489},
|
|
Karsten Hopp |
fe3272 |
! {0x0591, 0x05a1}, {0x05a3, 0x05b9}, {0x05bb, 0x05bd}, {0x05bf, 0x05bf},
|
|
Karsten Hopp |
fe3272 |
! {0x05c1, 0x05c2}, {0x05c4, 0x05c4}, {0x0610, 0x0615}, {0x064b, 0x0658},
|
|
Karsten Hopp |
fe3272 |
! {0x0670, 0x0670}, {0x06d6, 0x06dc}, {0x06de, 0x06e4}, {0x06e7, 0x06e8},
|
|
Karsten Hopp |
fe3272 |
! {0x06ea, 0x06ed}, {0x0711, 0x0711}, {0x0730, 0x074a}, {0x07a6, 0x07b0},
|
|
Karsten Hopp |
fe3272 |
! {0x0901, 0x0903}, {0x093c, 0x093c}, {0x093e, 0x094d}, {0x0951, 0x0954},
|
|
Karsten Hopp |
fe3272 |
! {0x0962, 0x0963}, {0x0981, 0x0983}, {0x09bc, 0x09bc}, {0x09be, 0x09c4},
|
|
Karsten Hopp |
fe3272 |
! {0x09c7, 0x09c8}, {0x09cb, 0x09cd}, {0x09d7, 0x09d7}, {0x09e2, 0x09e3},
|
|
Karsten Hopp |
fe3272 |
! {0x0a01, 0x0a03}, {0x0a3c, 0x0a3c}, {0x0a3e, 0x0a42}, {0x0a47, 0x0a48},
|
|
Karsten Hopp |
fe3272 |
! {0x0a4b, 0x0a4d}, {0x0a70, 0x0a71}, {0x0a81, 0x0a83}, {0x0abc, 0x0abc},
|
|
Karsten Hopp |
fe3272 |
! {0x0abe, 0x0ac5}, {0x0ac7, 0x0ac9}, {0x0acb, 0x0acd}, {0x0ae2, 0x0ae3},
|
|
Karsten Hopp |
fe3272 |
! {0x0b01, 0x0b03}, {0x0b3c, 0x0b3c}, {0x0b3e, 0x0b43}, {0x0b47, 0x0b48},
|
|
Karsten Hopp |
fe3272 |
! {0x0b4b, 0x0b4d}, {0x0b56, 0x0b57}, {0x0b82, 0x0b82}, {0x0bbe, 0x0bc2},
|
|
Karsten Hopp |
fe3272 |
! {0x0bc6, 0x0bc8}, {0x0bca, 0x0bcd}, {0x0bd7, 0x0bd7}, {0x0c01, 0x0c03},
|
|
Karsten Hopp |
fe3272 |
! {0x0c3e, 0x0c44}, {0x0c46, 0x0c48}, {0x0c4a, 0x0c4d}, {0x0c55, 0x0c56},
|
|
Karsten Hopp |
fe3272 |
! {0x0c82, 0x0c83}, {0x0cbc, 0x0cbc}, {0x0cbe, 0x0cc4}, {0x0cc6, 0x0cc8},
|
|
Karsten Hopp |
fe3272 |
! {0x0cca, 0x0ccd}, {0x0cd5, 0x0cd6}, {0x0d02, 0x0d03}, {0x0d3e, 0x0d43},
|
|
Karsten Hopp |
fe3272 |
! {0x0d46, 0x0d48}, {0x0d4a, 0x0d4d}, {0x0d57, 0x0d57}, {0x0d82, 0x0d83},
|
|
Karsten Hopp |
fe3272 |
! {0x0dca, 0x0dca}, {0x0dcf, 0x0dd4}, {0x0dd6, 0x0dd6}, {0x0dd8, 0x0ddf},
|
|
Karsten Hopp |
fe3272 |
! {0x0df2, 0x0df3}, {0x0e31, 0x0e31}, {0x0e34, 0x0e3a}, {0x0e47, 0x0e4e},
|
|
Karsten Hopp |
fe3272 |
! {0x0eb1, 0x0eb1}, {0x0eb4, 0x0eb9}, {0x0ebb, 0x0ebc}, {0x0ec8, 0x0ecd},
|
|
Karsten Hopp |
fe3272 |
! {0x0f18, 0x0f19}, {0x0f35, 0x0f35}, {0x0f37, 0x0f37}, {0x0f39, 0x0f39},
|
|
Karsten Hopp |
fe3272 |
! {0x0f3e, 0x0f3f}, {0x0f71, 0x0f84}, {0x0f86, 0x0f87}, {0x0f90, 0x0f97},
|
|
Karsten Hopp |
fe3272 |
! {0x0f99, 0x0fbc}, {0x0fc6, 0x0fc6}, {0x102c, 0x1032}, {0x1036, 0x1039},
|
|
Karsten Hopp |
fe3272 |
! {0x1056, 0x1059}, {0x1712, 0x1714}, {0x1732, 0x1734}, {0x1752, 0x1753},
|
|
Karsten Hopp |
fe3272 |
! {0x1772, 0x1773}, {0x17b6, 0x17d3}, {0x17dd, 0x17dd}, {0x180b, 0x180d},
|
|
Karsten Hopp |
fe3272 |
! {0x18a9, 0x18a9}, {0x1920, 0x192b}, {0x1930, 0x193b}, {0x20d0, 0x20ea},
|
|
Karsten Hopp |
fe3272 |
! {0x302a, 0x302f}, {0x3099, 0x309a}, {0xfb1e, 0xfb1e}, {0xfe00, 0xfe0f},
|
|
Karsten Hopp |
fe3272 |
! {0xfe20, 0xfe23},
|
|
Karsten Hopp |
fe3272 |
};
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
return intable(combining, sizeof(combining), c);
|
|
Karsten Hopp |
fe3272 |
--- 2102,2299 ----
|
|
Karsten Hopp |
fe3272 |
utf_iscomposing(c)
|
|
Karsten Hopp |
fe3272 |
int c;
|
|
Karsten Hopp |
fe3272 |
{
|
|
Karsten Hopp |
fe3272 |
! /* Sorted list of non-overlapping intervals.
|
|
Karsten Hopp |
fe3272 |
! * Generated by ../runtime/tools/unicode.vim. */
|
|
Karsten Hopp |
fe3272 |
static struct interval combining[] =
|
|
Karsten Hopp |
fe3272 |
{
|
|
Karsten Hopp |
fe3272 |
! {0x0300, 0x036f},
|
|
Karsten Hopp |
fe3272 |
! {0x0483, 0x0489},
|
|
Karsten Hopp |
fe3272 |
! {0x0591, 0x05bd},
|
|
Karsten Hopp |
fe3272 |
! {0x05bf, 0x05bf},
|
|
Karsten Hopp |
fe3272 |
! {0x05c1, 0x05c2},
|
|
Karsten Hopp |
fe3272 |
! {0x05c4, 0x05c5},
|
|
Karsten Hopp |
fe3272 |
! {0x05c7, 0x05c7},
|
|
Karsten Hopp |
fe3272 |
! {0x0610, 0x061a},
|
|
Karsten Hopp |
fe3272 |
! {0x064b, 0x065e},
|
|
Karsten Hopp |
fe3272 |
! {0x0670, 0x0670},
|
|
Karsten Hopp |
fe3272 |
! {0x06d6, 0x06dc},
|
|
Karsten Hopp |
fe3272 |
! {0x06de, 0x06e4},
|
|
Karsten Hopp |
fe3272 |
! {0x06e7, 0x06e8},
|
|
Karsten Hopp |
fe3272 |
! {0x06ea, 0x06ed},
|
|
Karsten Hopp |
fe3272 |
! {0x0711, 0x0711},
|
|
Karsten Hopp |
fe3272 |
! {0x0730, 0x074a},
|
|
Karsten Hopp |
fe3272 |
! {0x07a6, 0x07b0},
|
|
Karsten Hopp |
fe3272 |
! {0x07eb, 0x07f3},
|
|
Karsten Hopp |
fe3272 |
! {0x0816, 0x0819},
|
|
Karsten Hopp |
fe3272 |
! {0x081b, 0x0823},
|
|
Karsten Hopp |
fe3272 |
! {0x0825, 0x0827},
|
|
Karsten Hopp |
fe3272 |
! {0x0829, 0x082d},
|
|
Karsten Hopp |
fe3272 |
! {0x0900, 0x0903},
|
|
Karsten Hopp |
fe3272 |
! {0x093c, 0x093c},
|
|
Karsten Hopp |
fe3272 |
! {0x093e, 0x094e},
|
|
Karsten Hopp |
fe3272 |
! {0x0951, 0x0955},
|
|
Karsten Hopp |
fe3272 |
! {0x0962, 0x0963},
|
|
Karsten Hopp |
fe3272 |
! {0x0981, 0x0983},
|
|
Karsten Hopp |
fe3272 |
! {0x09bc, 0x09bc},
|
|
Karsten Hopp |
fe3272 |
! {0x09be, 0x09c4},
|
|
Karsten Hopp |
fe3272 |
! {0x09c7, 0x09c8},
|
|
Karsten Hopp |
fe3272 |
! {0x09cb, 0x09cd},
|
|
Karsten Hopp |
fe3272 |
! {0x09d7, 0x09d7},
|
|
Karsten Hopp |
fe3272 |
! {0x09e2, 0x09e3},
|
|
Karsten Hopp |
fe3272 |
! {0x0a01, 0x0a03},
|
|
Karsten Hopp |
fe3272 |
! {0x0a3c, 0x0a3c},
|
|
Karsten Hopp |
fe3272 |
! {0x0a3e, 0x0a42},
|
|
Karsten Hopp |
fe3272 |
! {0x0a47, 0x0a48},
|
|
Karsten Hopp |
fe3272 |
! {0x0a4b, 0x0a4d},
|
|
Karsten Hopp |
fe3272 |
! {0x0a51, 0x0a51},
|
|
Karsten Hopp |
fe3272 |
! {0x0a70, 0x0a71},
|
|
Karsten Hopp |
fe3272 |
! {0x0a75, 0x0a75},
|
|
Karsten Hopp |
fe3272 |
! {0x0a81, 0x0a83},
|
|
Karsten Hopp |
fe3272 |
! {0x0abc, 0x0abc},
|
|
Karsten Hopp |
fe3272 |
! {0x0abe, 0x0ac5},
|
|
Karsten Hopp |
fe3272 |
! {0x0ac7, 0x0ac9},
|
|
Karsten Hopp |
fe3272 |
! {0x0acb, 0x0acd},
|
|
Karsten Hopp |
fe3272 |
! {0x0ae2, 0x0ae3},
|
|
Karsten Hopp |
fe3272 |
! {0x0b01, 0x0b03},
|
|
Karsten Hopp |
fe3272 |
! {0x0b3c, 0x0b3c},
|
|
Karsten Hopp |
fe3272 |
! {0x0b3e, 0x0b44},
|
|
Karsten Hopp |
fe3272 |
! {0x0b47, 0x0b48},
|
|
Karsten Hopp |
fe3272 |
! {0x0b4b, 0x0b4d},
|
|
Karsten Hopp |
fe3272 |
! {0x0b56, 0x0b57},
|
|
Karsten Hopp |
fe3272 |
! {0x0b62, 0x0b63},
|
|
Karsten Hopp |
fe3272 |
! {0x0b82, 0x0b82},
|
|
Karsten Hopp |
fe3272 |
! {0x0bbe, 0x0bc2},
|
|
Karsten Hopp |
fe3272 |
! {0x0bc6, 0x0bc8},
|
|
Karsten Hopp |
fe3272 |
! {0x0bca, 0x0bcd},
|
|
Karsten Hopp |
fe3272 |
! {0x0bd7, 0x0bd7},
|
|
Karsten Hopp |
fe3272 |
! {0x0c01, 0x0c03},
|
|
Karsten Hopp |
fe3272 |
! {0x0c3e, 0x0c44},
|
|
Karsten Hopp |
fe3272 |
! {0x0c46, 0x0c48},
|
|
Karsten Hopp |
fe3272 |
! {0x0c4a, 0x0c4d},
|
|
Karsten Hopp |
fe3272 |
! {0x0c55, 0x0c56},
|
|
Karsten Hopp |
fe3272 |
! {0x0c62, 0x0c63},
|
|
Karsten Hopp |
fe3272 |
! {0x0c82, 0x0c83},
|
|
Karsten Hopp |
fe3272 |
! {0x0cbc, 0x0cbc},
|
|
Karsten Hopp |
fe3272 |
! {0x0cbe, 0x0cc4},
|
|
Karsten Hopp |
fe3272 |
! {0x0cc6, 0x0cc8},
|
|
Karsten Hopp |
fe3272 |
! {0x0cca, 0x0ccd},
|
|
Karsten Hopp |
fe3272 |
! {0x0cd5, 0x0cd6},
|
|
Karsten Hopp |
fe3272 |
! {0x0ce2, 0x0ce3},
|
|
Karsten Hopp |
fe3272 |
! {0x0d02, 0x0d03},
|
|
Karsten Hopp |
fe3272 |
! {0x0d3e, 0x0d44},
|
|
Karsten Hopp |
fe3272 |
! {0x0d46, 0x0d48},
|
|
Karsten Hopp |
fe3272 |
! {0x0d4a, 0x0d4d},
|
|
Karsten Hopp |
fe3272 |
! {0x0d57, 0x0d57},
|
|
Karsten Hopp |
fe3272 |
! {0x0d62, 0x0d63},
|
|
Karsten Hopp |
fe3272 |
! {0x0d82, 0x0d83},
|
|
Karsten Hopp |
fe3272 |
! {0x0dca, 0x0dca},
|
|
Karsten Hopp |
fe3272 |
! {0x0dcf, 0x0dd4},
|
|
Karsten Hopp |
fe3272 |
! {0x0dd6, 0x0dd6},
|
|
Karsten Hopp |
fe3272 |
! {0x0dd8, 0x0ddf},
|
|
Karsten Hopp |
fe3272 |
! {0x0df2, 0x0df3},
|
|
Karsten Hopp |
fe3272 |
! {0x0e31, 0x0e31},
|
|
Karsten Hopp |
fe3272 |
! {0x0e34, 0x0e3a},
|
|
Karsten Hopp |
fe3272 |
! {0x0e47, 0x0e4e},
|
|
Karsten Hopp |
fe3272 |
! {0x0eb1, 0x0eb1},
|
|
Karsten Hopp |
fe3272 |
! {0x0eb4, 0x0eb9},
|
|
Karsten Hopp |
fe3272 |
! {0x0ebb, 0x0ebc},
|
|
Karsten Hopp |
fe3272 |
! {0x0ec8, 0x0ecd},
|
|
Karsten Hopp |
fe3272 |
! {0x0f18, 0x0f19},
|
|
Karsten Hopp |
fe3272 |
! {0x0f35, 0x0f35},
|
|
Karsten Hopp |
fe3272 |
! {0x0f37, 0x0f37},
|
|
Karsten Hopp |
fe3272 |
! {0x0f39, 0x0f39},
|
|
Karsten Hopp |
fe3272 |
! {0x0f3e, 0x0f3f},
|
|
Karsten Hopp |
fe3272 |
! {0x0f71, 0x0f84},
|
|
Karsten Hopp |
fe3272 |
! {0x0f86, 0x0f87},
|
|
Karsten Hopp |
fe3272 |
! {0x0f90, 0x0f97},
|
|
Karsten Hopp |
fe3272 |
! {0x0f99, 0x0fbc},
|
|
Karsten Hopp |
fe3272 |
! {0x0fc6, 0x0fc6},
|
|
Karsten Hopp |
fe3272 |
! {0x102b, 0x103e},
|
|
Karsten Hopp |
fe3272 |
! {0x1056, 0x1059},
|
|
Karsten Hopp |
fe3272 |
! {0x105e, 0x1060},
|
|
Karsten Hopp |
fe3272 |
! {0x1062, 0x1064},
|
|
Karsten Hopp |
fe3272 |
! {0x1067, 0x106d},
|
|
Karsten Hopp |
fe3272 |
! {0x1071, 0x1074},
|
|
Karsten Hopp |
fe3272 |
! {0x1082, 0x108d},
|
|
Karsten Hopp |
fe3272 |
! {0x108f, 0x108f},
|
|
Karsten Hopp |
fe3272 |
! {0x109a, 0x109d},
|
|
Karsten Hopp |
fe3272 |
! {0x135f, 0x135f},
|
|
Karsten Hopp |
fe3272 |
! {0x1712, 0x1714},
|
|
Karsten Hopp |
fe3272 |
! {0x1732, 0x1734},
|
|
Karsten Hopp |
fe3272 |
! {0x1752, 0x1753},
|
|
Karsten Hopp |
fe3272 |
! {0x1772, 0x1773},
|
|
Karsten Hopp |
fe3272 |
! {0x17b6, 0x17d3},
|
|
Karsten Hopp |
fe3272 |
! {0x17dd, 0x17dd},
|
|
Karsten Hopp |
fe3272 |
! {0x180b, 0x180d},
|
|
Karsten Hopp |
fe3272 |
! {0x18a9, 0x18a9},
|
|
Karsten Hopp |
fe3272 |
! {0x1920, 0x192b},
|
|
Karsten Hopp |
fe3272 |
! {0x1930, 0x193b},
|
|
Karsten Hopp |
fe3272 |
! {0x19b0, 0x19c0},
|
|
Karsten Hopp |
fe3272 |
! {0x19c8, 0x19c9},
|
|
Karsten Hopp |
fe3272 |
! {0x1a17, 0x1a1b},
|
|
Karsten Hopp |
fe3272 |
! {0x1a55, 0x1a5e},
|
|
Karsten Hopp |
fe3272 |
! {0x1a60, 0x1a7c},
|
|
Karsten Hopp |
fe3272 |
! {0x1a7f, 0x1a7f},
|
|
Karsten Hopp |
fe3272 |
! {0x1b00, 0x1b04},
|
|
Karsten Hopp |
fe3272 |
! {0x1b34, 0x1b44},
|
|
Karsten Hopp |
fe3272 |
! {0x1b6b, 0x1b73},
|
|
Karsten Hopp |
fe3272 |
! {0x1b80, 0x1b82},
|
|
Karsten Hopp |
fe3272 |
! {0x1ba1, 0x1baa},
|
|
Karsten Hopp |
fe3272 |
! {0x1c24, 0x1c37},
|
|
Karsten Hopp |
fe3272 |
! {0x1cd0, 0x1cd2},
|
|
Karsten Hopp |
fe3272 |
! {0x1cd4, 0x1ce8},
|
|
Karsten Hopp |
fe3272 |
! {0x1ced, 0x1ced},
|
|
Karsten Hopp |
fe3272 |
! {0x1cf2, 0x1cf2},
|
|
Karsten Hopp |
fe3272 |
! {0x1dc0, 0x1de6},
|
|
Karsten Hopp |
fe3272 |
! {0x1dfd, 0x1dff},
|
|
Karsten Hopp |
fe3272 |
! {0x20d0, 0x20f0},
|
|
Karsten Hopp |
fe3272 |
! {0x2cef, 0x2cf1},
|
|
Karsten Hopp |
fe3272 |
! {0x2de0, 0x2dff},
|
|
Karsten Hopp |
fe3272 |
! {0x302a, 0x302f},
|
|
Karsten Hopp |
fe3272 |
! {0x3099, 0x309a},
|
|
Karsten Hopp |
fe3272 |
! {0xa66f, 0xa672},
|
|
Karsten Hopp |
fe3272 |
! {0xa67c, 0xa67d},
|
|
Karsten Hopp |
fe3272 |
! {0xa6f0, 0xa6f1},
|
|
Karsten Hopp |
fe3272 |
! {0xa802, 0xa802},
|
|
Karsten Hopp |
fe3272 |
! {0xa806, 0xa806},
|
|
Karsten Hopp |
fe3272 |
! {0xa80b, 0xa80b},
|
|
Karsten Hopp |
fe3272 |
! {0xa823, 0xa827},
|
|
Karsten Hopp |
fe3272 |
! {0xa880, 0xa881},
|
|
Karsten Hopp |
fe3272 |
! {0xa8b4, 0xa8c4},
|
|
Karsten Hopp |
fe3272 |
! {0xa8e0, 0xa8f1},
|
|
Karsten Hopp |
fe3272 |
! {0xa926, 0xa92d},
|
|
Karsten Hopp |
fe3272 |
! {0xa947, 0xa953},
|
|
Karsten Hopp |
fe3272 |
! {0xa980, 0xa983},
|
|
Karsten Hopp |
fe3272 |
! {0xa9b3, 0xa9c0},
|
|
Karsten Hopp |
fe3272 |
! {0xaa29, 0xaa36},
|
|
Karsten Hopp |
fe3272 |
! {0xaa43, 0xaa43},
|
|
Karsten Hopp |
fe3272 |
! {0xaa4c, 0xaa4d},
|
|
Karsten Hopp |
fe3272 |
! {0xaa7b, 0xaa7b},
|
|
Karsten Hopp |
fe3272 |
! {0xaab0, 0xaab0},
|
|
Karsten Hopp |
fe3272 |
! {0xaab2, 0xaab4},
|
|
Karsten Hopp |
fe3272 |
! {0xaab7, 0xaab8},
|
|
Karsten Hopp |
fe3272 |
! {0xaabe, 0xaabf},
|
|
Karsten Hopp |
fe3272 |
! {0xaac1, 0xaac1},
|
|
Karsten Hopp |
fe3272 |
! {0xabe3, 0xabea},
|
|
Karsten Hopp |
fe3272 |
! {0xabec, 0xabed},
|
|
Karsten Hopp |
fe3272 |
! {0xfb1e, 0xfb1e},
|
|
Karsten Hopp |
fe3272 |
! {0xfe00, 0xfe0f},
|
|
Karsten Hopp |
fe3272 |
! {0xfe20, 0xfe26},
|
|
Karsten Hopp |
fe3272 |
! {0x101fd, 0x101fd},
|
|
Karsten Hopp |
fe3272 |
! {0x10a01, 0x10a03},
|
|
Karsten Hopp |
fe3272 |
! {0x10a05, 0x10a06},
|
|
Karsten Hopp |
fe3272 |
! {0x10a0c, 0x10a0f},
|
|
Karsten Hopp |
fe3272 |
! {0x10a38, 0x10a3a},
|
|
Karsten Hopp |
fe3272 |
! {0x10a3f, 0x10a3f},
|
|
Karsten Hopp |
fe3272 |
! {0x11080, 0x11082},
|
|
Karsten Hopp |
fe3272 |
! {0x110b0, 0x110ba},
|
|
Karsten Hopp |
fe3272 |
! {0x1d165, 0x1d169},
|
|
Karsten Hopp |
fe3272 |
! {0x1d16d, 0x1d172},
|
|
Karsten Hopp |
fe3272 |
! {0x1d17b, 0x1d182},
|
|
Karsten Hopp |
fe3272 |
! {0x1d185, 0x1d18b},
|
|
Karsten Hopp |
fe3272 |
! {0x1d1aa, 0x1d1ad},
|
|
Karsten Hopp |
fe3272 |
! {0x1d242, 0x1d244},
|
|
Karsten Hopp |
fe3272 |
! {0xe0100, 0xe01ef}
|
|
Karsten Hopp |
fe3272 |
};
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
return intable(combining, sizeof(combining), c);
|
|
Karsten Hopp |
fe3272 |
***************
|
|
Karsten Hopp |
fe3272 |
*** 2152,2166 ****
|
|
Karsten Hopp |
fe3272 |
* Code for Unicode case-dependent operations. Based on notes in
|
|
Karsten Hopp |
fe3272 |
* http://www.unicode.org/Public/UNIDATA/CaseFolding.txt
|
|
Karsten Hopp |
fe3272 |
* This code uses simple case folding, not full case folding.
|
|
Karsten Hopp |
fe3272 |
*/
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
/*
|
|
Karsten Hopp |
fe3272 |
! * The following table is built by foldExtract.pl < CaseFolding.txt .
|
|
Karsten Hopp |
fe3272 |
! * It must be in numeric order, because we use binary search on it.
|
|
Karsten Hopp |
fe3272 |
! * An entry such as {0x41,0x5a,1,32} means that UCS-4 characters in the range
|
|
Karsten Hopp |
fe3272 |
! * from 0x41 to 0x5a inclusive, stepping by 1, are folded by adding 32.
|
|
Karsten Hopp |
fe3272 |
*/
|
|
Karsten Hopp |
fe3272 |
-
|
|
Karsten Hopp |
fe3272 |
typedef struct
|
|
Karsten Hopp |
fe3272 |
{
|
|
Karsten Hopp |
fe3272 |
int rangeStart;
|
|
Karsten Hopp |
fe3272 |
--- 2441,2456 ----
|
|
Karsten Hopp |
fe3272 |
* Code for Unicode case-dependent operations. Based on notes in
|
|
Karsten Hopp |
fe3272 |
* http://www.unicode.org/Public/UNIDATA/CaseFolding.txt
|
|
Karsten Hopp |
fe3272 |
* This code uses simple case folding, not full case folding.
|
|
Karsten Hopp |
fe3272 |
+ * Last updated for Unicode 5.2.
|
|
Karsten Hopp |
fe3272 |
*/
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
/*
|
|
Karsten Hopp |
fe3272 |
! * The following tables are built by ../runtime/tools/unicode.vim.
|
|
Karsten Hopp |
fe3272 |
! * They must be in numeric order, because we use binary search.
|
|
Karsten Hopp |
fe3272 |
! * An entry such as {0x41,0x5a,1,32} means that Unicode characters in the
|
|
Karsten Hopp |
fe3272 |
! * range from 0x41 to 0x5a inclusive, stepping by 1, are changed to
|
|
Karsten Hopp |
fe3272 |
! * folded/upper/lower by adding 32.
|
|
Karsten Hopp |
fe3272 |
*/
|
|
Karsten Hopp |
fe3272 |
typedef struct
|
|
Karsten Hopp |
fe3272 |
{
|
|
Karsten Hopp |
fe3272 |
int rangeStart;
|
|
Karsten Hopp |
fe3272 |
***************
|
|
Karsten Hopp |
fe3272 |
*** 2171,2211 ****
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
static convertStruct foldCase[] =
|
|
Karsten Hopp |
fe3272 |
{
|
|
Karsten Hopp |
fe3272 |
! {0x41,0x5a,1,32}, {0xc0,0xd6,1,32}, {0xd8,0xde,1,32},
|
|
Karsten Hopp |
fe3272 |
! {0x100,0x12e,2,1}, {0x130,0x130,-1,-199}, {0x132,0x136,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x139,0x147,2,1}, {0x14a,0x176,2,1}, {0x178,0x178,-1,-121},
|
|
Karsten Hopp |
fe3272 |
! {0x179,0x17d,2,1}, {0x181,0x181,-1,210}, {0x182,0x184,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x186,0x186,-1,206}, {0x187,0x187,-1,1}, {0x189,0x18a,1,205},
|
|
Karsten Hopp |
fe3272 |
! {0x18b,0x18b,-1,1}, {0x18e,0x18e,-1,79}, {0x18f,0x18f,-1,202},
|
|
Karsten Hopp |
fe3272 |
! {0x190,0x190,-1,203}, {0x191,0x191,-1,1}, {0x193,0x193,-1,205},
|
|
Karsten Hopp |
fe3272 |
! {0x194,0x194,-1,207}, {0x196,0x196,-1,211}, {0x197,0x197,-1,209},
|
|
Karsten Hopp |
fe3272 |
! {0x198,0x198,-1,1}, {0x19c,0x19c,-1,211}, {0x19d,0x19d,-1,213},
|
|
Karsten Hopp |
fe3272 |
! {0x19f,0x19f,-1,214}, {0x1a0,0x1a4,2,1}, {0x1a6,0x1a6,-1,218},
|
|
Karsten Hopp |
fe3272 |
! {0x1a7,0x1a7,-1,1}, {0x1a9,0x1a9,-1,218}, {0x1ac,0x1ac,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1ae,0x1ae,-1,218}, {0x1af,0x1af,-1,1}, {0x1b1,0x1b2,1,217},
|
|
Karsten Hopp |
fe3272 |
! {0x1b3,0x1b5,2,1}, {0x1b7,0x1b7,-1,219}, {0x1b8,0x1bc,4,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1c4,0x1c4,-1,2}, {0x1c5,0x1c5,-1,1}, {0x1c7,0x1c7,-1,2},
|
|
Karsten Hopp |
fe3272 |
! {0x1c8,0x1c8,-1,1}, {0x1ca,0x1ca,-1,2}, {0x1cb,0x1db,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1de,0x1ee,2,1}, {0x1f1,0x1f1,-1,2}, {0x1f2,0x1f4,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1f6,0x1f6,-1,-97}, {0x1f7,0x1f7,-1,-56}, {0x1f8,0x21e,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x220,0x220,-1,-130}, {0x222,0x232,2,1}, {0x386,0x386,-1,38},
|
|
Karsten Hopp |
fe3272 |
! {0x388,0x38a,1,37}, {0x38c,0x38c,-1,64}, {0x38e,0x38f,1,63},
|
|
Karsten Hopp |
fe3272 |
! {0x391,0x3a1,1,32}, {0x3a3,0x3ab,1,32}, {0x3d8,0x3ee,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x3f4,0x3f4,-1,-60}, {0x3f7,0x3f7,-1,1}, {0x3f9,0x3f9,-1,-7},
|
|
Karsten Hopp |
fe3272 |
! {0x3fa,0x3fa,-1,1}, {0x400,0x40f,1,80}, {0x410,0x42f,1,32},
|
|
Karsten Hopp |
fe3272 |
! {0x460,0x480,2,1}, {0x48a,0x4be,2,1}, {0x4c1,0x4cd,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x4d0,0x4f4,2,1}, {0x4f8,0x500,8,1}, {0x502,0x50e,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x531,0x556,1,48}, {0x1e00,0x1e94,2,1}, {0x1ea0,0x1ef8,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1f08,0x1f0f,1,-8}, {0x1f18,0x1f1d,1,-8}, {0x1f28,0x1f2f,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f38,0x1f3f,1,-8}, {0x1f48,0x1f4d,1,-8}, {0x1f59,0x1f5f,2,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f68,0x1f6f,1,-8}, {0x1f88,0x1f8f,1,-8}, {0x1f98,0x1f9f,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fa8,0x1faf,1,-8}, {0x1fb8,0x1fb9,1,-8}, {0x1fba,0x1fbb,1,-74},
|
|
Karsten Hopp |
fe3272 |
! {0x1fbc,0x1fbc,-1,-9}, {0x1fc8,0x1fcb,1,-86}, {0x1fcc,0x1fcc,-1,-9},
|
|
Karsten Hopp |
fe3272 |
! {0x1fd8,0x1fd9,1,-8}, {0x1fda,0x1fdb,1,-100}, {0x1fe8,0x1fe9,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fea,0x1feb,1,-112}, {0x1fec,0x1fec,-1,-7}, {0x1ff8,0x1ff9,1,-128},
|
|
Karsten Hopp |
fe3272 |
! {0x1ffa,0x1ffb,1,-126}, {0x1ffc,0x1ffc,-1,-9}, {0x2126,0x2126,-1,-7517},
|
|
Karsten Hopp |
fe3272 |
! {0x212a,0x212a,-1,-8383}, {0x212b,0x212b,-1,-8262},
|
|
Karsten Hopp |
fe3272 |
! {0x2160,0x216f,1,16}, {0x24b6,0x24cf,1,26}, {0xff21,0xff3a,1,32},
|
|
Karsten Hopp |
fe3272 |
{0x10400,0x10427,1,40}
|
|
Karsten Hopp |
fe3272 |
};
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
--- 2461,2621 ----
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
static convertStruct foldCase[] =
|
|
Karsten Hopp |
fe3272 |
{
|
|
Karsten Hopp |
fe3272 |
! {0x41,0x5a,1,32},
|
|
Karsten Hopp |
fe3272 |
! {0xb5,0xb5,-1,775},
|
|
Karsten Hopp |
fe3272 |
! {0xc0,0xd6,1,32},
|
|
Karsten Hopp |
fe3272 |
! {0xd8,0xde,1,32},
|
|
Karsten Hopp |
fe3272 |
! {0x100,0x12e,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x132,0x136,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x139,0x147,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x14a,0x176,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x178,0x178,-1,-121},
|
|
Karsten Hopp |
fe3272 |
! {0x179,0x17d,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x17f,0x17f,-1,-268},
|
|
Karsten Hopp |
fe3272 |
! {0x181,0x181,-1,210},
|
|
Karsten Hopp |
fe3272 |
! {0x182,0x184,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x186,0x186,-1,206},
|
|
Karsten Hopp |
fe3272 |
! {0x187,0x187,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x189,0x18a,1,205},
|
|
Karsten Hopp |
fe3272 |
! {0x18b,0x18b,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x18e,0x18e,-1,79},
|
|
Karsten Hopp |
fe3272 |
! {0x18f,0x18f,-1,202},
|
|
Karsten Hopp |
fe3272 |
! {0x190,0x190,-1,203},
|
|
Karsten Hopp |
fe3272 |
! {0x191,0x191,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x193,0x193,-1,205},
|
|
Karsten Hopp |
fe3272 |
! {0x194,0x194,-1,207},
|
|
Karsten Hopp |
fe3272 |
! {0x196,0x196,-1,211},
|
|
Karsten Hopp |
fe3272 |
! {0x197,0x197,-1,209},
|
|
Karsten Hopp |
fe3272 |
! {0x198,0x198,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x19c,0x19c,-1,211},
|
|
Karsten Hopp |
fe3272 |
! {0x19d,0x19d,-1,213},
|
|
Karsten Hopp |
fe3272 |
! {0x19f,0x19f,-1,214},
|
|
Karsten Hopp |
fe3272 |
! {0x1a0,0x1a4,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1a6,0x1a6,-1,218},
|
|
Karsten Hopp |
fe3272 |
! {0x1a7,0x1a7,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1a9,0x1a9,-1,218},
|
|
Karsten Hopp |
fe3272 |
! {0x1ac,0x1ac,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1ae,0x1ae,-1,218},
|
|
Karsten Hopp |
fe3272 |
! {0x1af,0x1af,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1b1,0x1b2,1,217},
|
|
Karsten Hopp |
fe3272 |
! {0x1b3,0x1b5,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1b7,0x1b7,-1,219},
|
|
Karsten Hopp |
fe3272 |
! {0x1b8,0x1bc,4,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1c4,0x1c4,-1,2},
|
|
Karsten Hopp |
fe3272 |
! {0x1c5,0x1c5,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1c7,0x1c7,-1,2},
|
|
Karsten Hopp |
fe3272 |
! {0x1c8,0x1c8,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1ca,0x1ca,-1,2},
|
|
Karsten Hopp |
fe3272 |
! {0x1cb,0x1db,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1de,0x1ee,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1f1,0x1f1,-1,2},
|
|
Karsten Hopp |
fe3272 |
! {0x1f2,0x1f4,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1f6,0x1f6,-1,-97},
|
|
Karsten Hopp |
fe3272 |
! {0x1f7,0x1f7,-1,-56},
|
|
Karsten Hopp |
fe3272 |
! {0x1f8,0x21e,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x220,0x220,-1,-130},
|
|
Karsten Hopp |
fe3272 |
! {0x222,0x232,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x23a,0x23a,-1,10795},
|
|
Karsten Hopp |
fe3272 |
! {0x23b,0x23b,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x23d,0x23d,-1,-163},
|
|
Karsten Hopp |
fe3272 |
! {0x23e,0x23e,-1,10792},
|
|
Karsten Hopp |
fe3272 |
! {0x241,0x241,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x243,0x243,-1,-195},
|
|
Karsten Hopp |
fe3272 |
! {0x244,0x244,-1,69},
|
|
Karsten Hopp |
fe3272 |
! {0x245,0x245,-1,71},
|
|
Karsten Hopp |
fe3272 |
! {0x246,0x24e,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x345,0x345,-1,116},
|
|
Karsten Hopp |
fe3272 |
! {0x370,0x372,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x376,0x376,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x386,0x386,-1,38},
|
|
Karsten Hopp |
fe3272 |
! {0x388,0x38a,1,37},
|
|
Karsten Hopp |
fe3272 |
! {0x38c,0x38c,-1,64},
|
|
Karsten Hopp |
fe3272 |
! {0x38e,0x38f,1,63},
|
|
Karsten Hopp |
fe3272 |
! {0x391,0x3a1,1,32},
|
|
Karsten Hopp |
fe3272 |
! {0x3a3,0x3ab,1,32},
|
|
Karsten Hopp |
fe3272 |
! {0x3c2,0x3c2,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x3cf,0x3cf,-1,8},
|
|
Karsten Hopp |
fe3272 |
! {0x3d0,0x3d0,-1,-30},
|
|
Karsten Hopp |
fe3272 |
! {0x3d1,0x3d1,-1,-25},
|
|
Karsten Hopp |
fe3272 |
! {0x3d5,0x3d5,-1,-15},
|
|
Karsten Hopp |
fe3272 |
! {0x3d6,0x3d6,-1,-22},
|
|
Karsten Hopp |
fe3272 |
! {0x3d8,0x3ee,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x3f0,0x3f0,-1,-54},
|
|
Karsten Hopp |
fe3272 |
! {0x3f1,0x3f1,-1,-48},
|
|
Karsten Hopp |
fe3272 |
! {0x3f4,0x3f4,-1,-60},
|
|
Karsten Hopp |
fe3272 |
! {0x3f5,0x3f5,-1,-64},
|
|
Karsten Hopp |
fe3272 |
! {0x3f7,0x3f7,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x3f9,0x3f9,-1,-7},
|
|
Karsten Hopp |
fe3272 |
! {0x3fa,0x3fa,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x3fd,0x3ff,1,-130},
|
|
Karsten Hopp |
fe3272 |
! {0x400,0x40f,1,80},
|
|
Karsten Hopp |
fe3272 |
! {0x410,0x42f,1,32},
|
|
Karsten Hopp |
fe3272 |
! {0x460,0x480,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x48a,0x4be,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x4c0,0x4c0,-1,15},
|
|
Karsten Hopp |
fe3272 |
! {0x4c1,0x4cd,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x4d0,0x524,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x531,0x556,1,48},
|
|
Karsten Hopp |
fe3272 |
! {0x10a0,0x10c5,1,7264},
|
|
Karsten Hopp |
fe3272 |
! {0x1e00,0x1e94,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1e9b,0x1e9b,-1,-58},
|
|
Karsten Hopp |
fe3272 |
! {0x1e9e,0x1e9e,-1,-7615},
|
|
Karsten Hopp |
fe3272 |
! {0x1ea0,0x1efe,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1f08,0x1f0f,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f18,0x1f1d,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f28,0x1f2f,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f38,0x1f3f,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f48,0x1f4d,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f59,0x1f5f,2,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f68,0x1f6f,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f88,0x1f8f,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f98,0x1f9f,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fa8,0x1faf,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fb8,0x1fb9,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fba,0x1fbb,1,-74},
|
|
Karsten Hopp |
fe3272 |
! {0x1fbc,0x1fbc,-1,-9},
|
|
Karsten Hopp |
fe3272 |
! {0x1fbe,0x1fbe,-1,-7173},
|
|
Karsten Hopp |
fe3272 |
! {0x1fc8,0x1fcb,1,-86},
|
|
Karsten Hopp |
fe3272 |
! {0x1fcc,0x1fcc,-1,-9},
|
|
Karsten Hopp |
fe3272 |
! {0x1fd8,0x1fd9,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fda,0x1fdb,1,-100},
|
|
Karsten Hopp |
fe3272 |
! {0x1fe8,0x1fe9,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fea,0x1feb,1,-112},
|
|
Karsten Hopp |
fe3272 |
! {0x1fec,0x1fec,-1,-7},
|
|
Karsten Hopp |
fe3272 |
! {0x1ff8,0x1ff9,1,-128},
|
|
Karsten Hopp |
fe3272 |
! {0x1ffa,0x1ffb,1,-126},
|
|
Karsten Hopp |
fe3272 |
! {0x1ffc,0x1ffc,-1,-9},
|
|
Karsten Hopp |
fe3272 |
! {0x2126,0x2126,-1,-7517},
|
|
Karsten Hopp |
fe3272 |
! {0x212a,0x212a,-1,-8383},
|
|
Karsten Hopp |
fe3272 |
! {0x212b,0x212b,-1,-8262},
|
|
Karsten Hopp |
fe3272 |
! {0x2132,0x2132,-1,28},
|
|
Karsten Hopp |
fe3272 |
! {0x2160,0x216f,1,16},
|
|
Karsten Hopp |
fe3272 |
! {0x2183,0x2183,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x24b6,0x24cf,1,26},
|
|
Karsten Hopp |
fe3272 |
! {0x2c00,0x2c2e,1,48},
|
|
Karsten Hopp |
fe3272 |
! {0x2c60,0x2c60,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x2c62,0x2c62,-1,-10743},
|
|
Karsten Hopp |
fe3272 |
! {0x2c63,0x2c63,-1,-3814},
|
|
Karsten Hopp |
fe3272 |
! {0x2c64,0x2c64,-1,-10727},
|
|
Karsten Hopp |
fe3272 |
! {0x2c67,0x2c6b,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x2c6d,0x2c6d,-1,-10780},
|
|
Karsten Hopp |
fe3272 |
! {0x2c6e,0x2c6e,-1,-10749},
|
|
Karsten Hopp |
fe3272 |
! {0x2c6f,0x2c6f,-1,-10783},
|
|
Karsten Hopp |
fe3272 |
! {0x2c70,0x2c70,-1,-10782},
|
|
Karsten Hopp |
fe3272 |
! {0x2c72,0x2c75,3,1},
|
|
Karsten Hopp |
fe3272 |
! {0x2c7e,0x2c7f,1,-10815},
|
|
Karsten Hopp |
fe3272 |
! {0x2c80,0x2ce2,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x2ceb,0x2ced,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0xa640,0xa65e,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0xa662,0xa66c,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0xa680,0xa696,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0xa722,0xa72e,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0xa732,0xa76e,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0xa779,0xa77b,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0xa77d,0xa77d,-1,-35332},
|
|
Karsten Hopp |
fe3272 |
! {0xa77e,0xa786,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0xa78b,0xa78b,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0xff21,0xff3a,1,32},
|
|
Karsten Hopp |
fe3272 |
{0x10400,0x10427,1,40}
|
|
Karsten Hopp |
fe3272 |
};
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
***************
|
|
Karsten Hopp |
fe3272 |
*** 2253,2337 ****
|
|
Karsten Hopp |
fe3272 |
return utf_convert(a, foldCase, sizeof(foldCase));
|
|
Karsten Hopp |
fe3272 |
}
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
- /*
|
|
Karsten Hopp |
fe3272 |
- * The following tables are built by upperLowerExtract.pl < UnicodeData.txt .
|
|
Karsten Hopp |
fe3272 |
- * They must be in numeric order, because we use binary search on them.
|
|
Karsten Hopp |
fe3272 |
- * An entry such as {0x41,0x5a,1,32} means that UCS-4 characters in the range
|
|
Karsten Hopp |
fe3272 |
- * from 0x41 to 0x5a inclusive, stepping by 1, are switched to lower (for
|
|
Karsten Hopp |
fe3272 |
- * example) by adding 32.
|
|
Karsten Hopp |
fe3272 |
- */
|
|
Karsten Hopp |
fe3272 |
static convertStruct toLower[] =
|
|
Karsten Hopp |
fe3272 |
{
|
|
Karsten Hopp |
fe3272 |
! {0x41,0x5a,1,32}, {0xc0,0xd6,1,32}, {0xd8,0xde,1,32},
|
|
Karsten Hopp |
fe3272 |
! {0x100,0x12e,2,1}, {0x130,0x130,-1,-199}, {0x132,0x136,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x139,0x147,2,1}, {0x14a,0x176,2,1}, {0x178,0x178,-1,-121},
|
|
Karsten Hopp |
fe3272 |
! {0x179,0x17d,2,1}, {0x181,0x181,-1,210}, {0x182,0x184,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x186,0x186,-1,206}, {0x187,0x187,-1,1}, {0x189,0x18a,1,205},
|
|
Karsten Hopp |
fe3272 |
! {0x18b,0x18b,-1,1}, {0x18e,0x18e,-1,79}, {0x18f,0x18f,-1,202},
|
|
Karsten Hopp |
fe3272 |
! {0x190,0x190,-1,203}, {0x191,0x191,-1,1}, {0x193,0x193,-1,205},
|
|
Karsten Hopp |
fe3272 |
! {0x194,0x194,-1,207}, {0x196,0x196,-1,211}, {0x197,0x197,-1,209},
|
|
Karsten Hopp |
fe3272 |
! {0x198,0x198,-1,1}, {0x19c,0x19c,-1,211}, {0x19d,0x19d,-1,213},
|
|
Karsten Hopp |
fe3272 |
! {0x19f,0x19f,-1,214}, {0x1a0,0x1a4,2,1}, {0x1a6,0x1a6,-1,218},
|
|
Karsten Hopp |
fe3272 |
! {0x1a7,0x1a7,-1,1}, {0x1a9,0x1a9,-1,218}, {0x1ac,0x1ac,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1ae,0x1ae,-1,218}, {0x1af,0x1af,-1,1}, {0x1b1,0x1b2,1,217},
|
|
Karsten Hopp |
fe3272 |
! {0x1b3,0x1b5,2,1}, {0x1b7,0x1b7,-1,219}, {0x1b8,0x1bc,4,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1c4,0x1ca,3,2}, {0x1cd,0x1db,2,1}, {0x1de,0x1ee,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1f1,0x1f1,-1,2}, {0x1f4,0x1f4,-1,1}, {0x1f6,0x1f6,-1,-97},
|
|
Karsten Hopp |
fe3272 |
! {0x1f7,0x1f7,-1,-56}, {0x1f8,0x21e,2,1}, {0x220,0x220,-1,-130},
|
|
Karsten Hopp |
fe3272 |
! {0x222,0x232,2,1}, {0x386,0x386,-1,38}, {0x388,0x38a,1,37},
|
|
Karsten Hopp |
fe3272 |
! {0x38c,0x38c,-1,64}, {0x38e,0x38f,1,63}, {0x391,0x3a1,1,32},
|
|
Karsten Hopp |
fe3272 |
! {0x3a3,0x3ab,1,32}, {0x3d8,0x3ee,2,1}, {0x3f4,0x3f4,-1,-60},
|
|
Karsten Hopp |
fe3272 |
! {0x3f7,0x3f7,-1,1}, {0x3f9,0x3f9,-1,-7}, {0x3fa,0x3fa,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x400,0x40f,1,80}, {0x410,0x42f,1,32}, {0x460,0x480,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x48a,0x4be,2,1}, {0x4c1,0x4cd,2,1}, {0x4d0,0x4f4,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x4f8,0x500,8,1}, {0x502,0x50e,2,1}, {0x531,0x556,1,48},
|
|
Karsten Hopp |
fe3272 |
! {0x1e00,0x1e94,2,1}, {0x1ea0,0x1ef8,2,1}, {0x1f08,0x1f0f,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f18,0x1f1d,1,-8}, {0x1f28,0x1f2f,1,-8}, {0x1f38,0x1f3f,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f48,0x1f4d,1,-8}, {0x1f59,0x1f5f,2,-8}, {0x1f68,0x1f6f,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fb8,0x1fb9,1,-8}, {0x1fba,0x1fbb,1,-74}, {0x1fc8,0x1fcb,1,-86},
|
|
Karsten Hopp |
fe3272 |
! {0x1fd8,0x1fd9,1,-8}, {0x1fda,0x1fdb,1,-100}, {0x1fe8,0x1fe9,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fea,0x1feb,1,-112}, {0x1fec,0x1fec,-1,-7}, {0x1ff8,0x1ff9,1,-128},
|
|
Karsten Hopp |
fe3272 |
! {0x1ffa,0x1ffb,1,-126}, {0x2126,0x2126,-1,-7517}, {0x212a,0x212a,-1,-8383},
|
|
Karsten Hopp |
fe3272 |
! {0x212b,0x212b,-1,-8262}, {0xff21,0xff3a,1,32}, {0x10400,0x10427,1,40}
|
|
Karsten Hopp |
fe3272 |
};
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
static convertStruct toUpper[] =
|
|
Karsten Hopp |
fe3272 |
{
|
|
Karsten Hopp |
fe3272 |
! {0x61,0x7a,1,-32}, {0xb5,0xb5,-1,743}, {0xe0,0xf6,1,-32},
|
|
Karsten Hopp |
fe3272 |
! {0xf8,0xfe,1,-32}, {0xff,0xff,-1,121}, {0x101,0x12f,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x131,0x131,-1,-232}, {0x133,0x137,2,-1}, {0x13a,0x148,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x14b,0x177,2,-1}, {0x17a,0x17e,2,-1}, {0x17f,0x17f,-1,-300},
|
|
Karsten Hopp |
fe3272 |
! {0x183,0x185,2,-1}, {0x188,0x18c,4,-1}, {0x192,0x192,-1,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x195,0x195,-1,97}, {0x199,0x199,-1,-1}, {0x19e,0x19e,-1,130},
|
|
Karsten Hopp |
fe3272 |
! {0x1a1,0x1a5,2,-1}, {0x1a8,0x1ad,5,-1}, {0x1b0,0x1b4,4,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x1b6,0x1b9,3,-1}, {0x1bd,0x1bd,-1,-1}, {0x1bf,0x1bf,-1,56},
|
|
Karsten Hopp |
fe3272 |
! {0x1c5,0x1c6,1,-1}, {0x1c8,0x1c9,1,-1}, {0x1cb,0x1cc,1,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x1ce,0x1dc,2,-1}, {0x1dd,0x1dd,-1,-79}, {0x1df,0x1ef,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x1f2,0x1f3,1,-1}, {0x1f5,0x1f9,4,-1}, {0x1fb,0x21f,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x223,0x233,2,-1}, {0x253,0x253,-1,-210}, {0x254,0x254,-1,-206},
|
|
Karsten Hopp |
fe3272 |
! {0x256,0x257,1,-205}, {0x259,0x259,-1,-202}, {0x25b,0x25b,-1,-203},
|
|
Karsten Hopp |
fe3272 |
! {0x260,0x260,-1,-205}, {0x263,0x263,-1,-207}, {0x268,0x268,-1,-209},
|
|
Karsten Hopp |
fe3272 |
! {0x269,0x26f,6,-211}, {0x272,0x272,-1,-213}, {0x275,0x275,-1,-214},
|
|
Karsten Hopp |
fe3272 |
! {0x280,0x283,3,-218}, {0x288,0x288,-1,-218}, {0x28a,0x28b,1,-217},
|
|
Karsten Hopp |
fe3272 |
! {0x292,0x292,-1,-219}, {0x3ac,0x3ac,-1,-38}, {0x3ad,0x3af,1,-37},
|
|
Karsten Hopp |
fe3272 |
! {0x3b1,0x3c1,1,-32}, {0x3c2,0x3c2,-1,-31}, {0x3c3,0x3cb,1,-32},
|
|
Karsten Hopp |
fe3272 |
! {0x3cc,0x3cc,-1,-64}, {0x3cd,0x3ce,1,-63}, {0x3d0,0x3d0,-1,-62},
|
|
Karsten Hopp |
fe3272 |
! {0x3d1,0x3d1,-1,-57}, {0x3d5,0x3d5,-1,-47}, {0x3d6,0x3d6,-1,-54},
|
|
Karsten Hopp |
fe3272 |
! {0x3d9,0x3ef,2,-1}, {0x3f0,0x3f0,-1,-86}, {0x3f1,0x3f1,-1,-80},
|
|
Karsten Hopp |
fe3272 |
! {0x3f2,0x3f2,-1,7}, {0x3f5,0x3f5,-1,-96}, {0x3f8,0x3fb,3,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x430,0x44f,1,-32}, {0x450,0x45f,1,-80}, {0x461,0x481,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x48b,0x4bf,2,-1}, {0x4c2,0x4ce,2,-1}, {0x4d1,0x4f5,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x4f9,0x501,8,-1}, {0x503,0x50f,2,-1}, {0x561,0x586,1,-48},
|
|
Karsten Hopp |
fe3272 |
! {0x1e01,0x1e95,2,-1}, {0x1e9b,0x1e9b,-1,-59}, {0x1ea1,0x1ef9,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x1f00,0x1f07,1,8}, {0x1f10,0x1f15,1,8}, {0x1f20,0x1f27,1,8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f30,0x1f37,1,8}, {0x1f40,0x1f45,1,8}, {0x1f51,0x1f57,2,8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f60,0x1f67,1,8}, {0x1f70,0x1f71,1,74}, {0x1f72,0x1f75,1,86},
|
|
Karsten Hopp |
fe3272 |
! {0x1f76,0x1f77,1,100}, {0x1f78,0x1f79,1,128}, {0x1f7a,0x1f7b,1,112},
|
|
Karsten Hopp |
fe3272 |
! {0x1f7c,0x1f7d,1,126}, {0x1f80,0x1f87,1,8}, {0x1f90,0x1f97,1,8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fa0,0x1fa7,1,8}, {0x1fb0,0x1fb1,1,8}, {0x1fb3,0x1fb3,-1,9},
|
|
Karsten Hopp |
fe3272 |
! {0x1fbe,0x1fbe,-1,-7205}, {0x1fc3,0x1fc3,-1,9}, {0x1fd0,0x1fd1,1,8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fe0,0x1fe1,1,8}, {0x1fe5,0x1fe5,-1,7}, {0x1ff3,0x1ff3,-1,9},
|
|
Karsten Hopp |
fe3272 |
! {0xff41,0xff5a,1,-32}, {0x10428,0x1044f,1,-40}
|
|
Karsten Hopp |
fe3272 |
};
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
/*
|
|
Karsten Hopp |
fe3272 |
--- 2663,2968 ----
|
|
Karsten Hopp |
fe3272 |
return utf_convert(a, foldCase, sizeof(foldCase));
|
|
Karsten Hopp |
fe3272 |
}
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
static convertStruct toLower[] =
|
|
Karsten Hopp |
fe3272 |
{
|
|
Karsten Hopp |
fe3272 |
! {0x41,0x5a,1,32},
|
|
Karsten Hopp |
fe3272 |
! {0xc0,0xd6,1,32},
|
|
Karsten Hopp |
fe3272 |
! {0xd8,0xde,1,32},
|
|
Karsten Hopp |
fe3272 |
! {0x100,0x12e,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x130,0x130,-1,-199},
|
|
Karsten Hopp |
fe3272 |
! {0x132,0x136,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x139,0x147,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x14a,0x176,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x178,0x178,-1,-121},
|
|
Karsten Hopp |
fe3272 |
! {0x179,0x17d,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x181,0x181,-1,210},
|
|
Karsten Hopp |
fe3272 |
! {0x182,0x184,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x186,0x186,-1,206},
|
|
Karsten Hopp |
fe3272 |
! {0x187,0x187,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x189,0x18a,1,205},
|
|
Karsten Hopp |
fe3272 |
! {0x18b,0x18b,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x18e,0x18e,-1,79},
|
|
Karsten Hopp |
fe3272 |
! {0x18f,0x18f,-1,202},
|
|
Karsten Hopp |
fe3272 |
! {0x190,0x190,-1,203},
|
|
Karsten Hopp |
fe3272 |
! {0x191,0x191,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x193,0x193,-1,205},
|
|
Karsten Hopp |
fe3272 |
! {0x194,0x194,-1,207},
|
|
Karsten Hopp |
fe3272 |
! {0x196,0x196,-1,211},
|
|
Karsten Hopp |
fe3272 |
! {0x197,0x197,-1,209},
|
|
Karsten Hopp |
fe3272 |
! {0x198,0x198,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x19c,0x19c,-1,211},
|
|
Karsten Hopp |
fe3272 |
! {0x19d,0x19d,-1,213},
|
|
Karsten Hopp |
fe3272 |
! {0x19f,0x19f,-1,214},
|
|
Karsten Hopp |
fe3272 |
! {0x1a0,0x1a4,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1a6,0x1a6,-1,218},
|
|
Karsten Hopp |
fe3272 |
! {0x1a7,0x1a7,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1a9,0x1a9,-1,218},
|
|
Karsten Hopp |
fe3272 |
! {0x1ac,0x1ac,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1ae,0x1ae,-1,218},
|
|
Karsten Hopp |
fe3272 |
! {0x1af,0x1af,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1b1,0x1b2,1,217},
|
|
Karsten Hopp |
fe3272 |
! {0x1b3,0x1b5,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1b7,0x1b7,-1,219},
|
|
Karsten Hopp |
fe3272 |
! {0x1b8,0x1bc,4,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1c4,0x1c4,-1,2},
|
|
Karsten Hopp |
fe3272 |
! {0x1c5,0x1c5,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1c7,0x1c7,-1,2},
|
|
Karsten Hopp |
fe3272 |
! {0x1c8,0x1c8,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1ca,0x1ca,-1,2},
|
|
Karsten Hopp |
fe3272 |
! {0x1cb,0x1db,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1de,0x1ee,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1f1,0x1f1,-1,2},
|
|
Karsten Hopp |
fe3272 |
! {0x1f2,0x1f4,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1f6,0x1f6,-1,-97},
|
|
Karsten Hopp |
fe3272 |
! {0x1f7,0x1f7,-1,-56},
|
|
Karsten Hopp |
fe3272 |
! {0x1f8,0x21e,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x220,0x220,-1,-130},
|
|
Karsten Hopp |
fe3272 |
! {0x222,0x232,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x23a,0x23a,-1,10795},
|
|
Karsten Hopp |
fe3272 |
! {0x23b,0x23b,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x23d,0x23d,-1,-163},
|
|
Karsten Hopp |
fe3272 |
! {0x23e,0x23e,-1,10792},
|
|
Karsten Hopp |
fe3272 |
! {0x241,0x241,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x243,0x243,-1,-195},
|
|
Karsten Hopp |
fe3272 |
! {0x244,0x244,-1,69},
|
|
Karsten Hopp |
fe3272 |
! {0x245,0x245,-1,71},
|
|
Karsten Hopp |
fe3272 |
! {0x246,0x24e,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x370,0x372,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x376,0x376,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x386,0x386,-1,38},
|
|
Karsten Hopp |
fe3272 |
! {0x388,0x38a,1,37},
|
|
Karsten Hopp |
fe3272 |
! {0x38c,0x38c,-1,64},
|
|
Karsten Hopp |
fe3272 |
! {0x38e,0x38f,1,63},
|
|
Karsten Hopp |
fe3272 |
! {0x391,0x3a1,1,32},
|
|
Karsten Hopp |
fe3272 |
! {0x3a3,0x3ab,1,32},
|
|
Karsten Hopp |
fe3272 |
! {0x3cf,0x3cf,-1,8},
|
|
Karsten Hopp |
fe3272 |
! {0x3d8,0x3ee,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x3f4,0x3f4,-1,-60},
|
|
Karsten Hopp |
fe3272 |
! {0x3f7,0x3f7,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x3f9,0x3f9,-1,-7},
|
|
Karsten Hopp |
fe3272 |
! {0x3fa,0x3fa,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x3fd,0x3ff,1,-130},
|
|
Karsten Hopp |
fe3272 |
! {0x400,0x40f,1,80},
|
|
Karsten Hopp |
fe3272 |
! {0x410,0x42f,1,32},
|
|
Karsten Hopp |
fe3272 |
! {0x460,0x480,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x48a,0x4be,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x4c0,0x4c0,-1,15},
|
|
Karsten Hopp |
fe3272 |
! {0x4c1,0x4cd,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x4d0,0x524,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x531,0x556,1,48},
|
|
Karsten Hopp |
fe3272 |
! {0x10a0,0x10c5,1,7264},
|
|
Karsten Hopp |
fe3272 |
! {0x1e00,0x1e94,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1e9e,0x1e9e,-1,-7615},
|
|
Karsten Hopp |
fe3272 |
! {0x1ea0,0x1efe,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x1f08,0x1f0f,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f18,0x1f1d,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f28,0x1f2f,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f38,0x1f3f,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f48,0x1f4d,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f59,0x1f5f,2,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f68,0x1f6f,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f88,0x1f8f,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f98,0x1f9f,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fa8,0x1faf,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fb8,0x1fb9,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fba,0x1fbb,1,-74},
|
|
Karsten Hopp |
fe3272 |
! {0x1fbc,0x1fbc,-1,-9},
|
|
Karsten Hopp |
fe3272 |
! {0x1fc8,0x1fcb,1,-86},
|
|
Karsten Hopp |
fe3272 |
! {0x1fcc,0x1fcc,-1,-9},
|
|
Karsten Hopp |
fe3272 |
! {0x1fd8,0x1fd9,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fda,0x1fdb,1,-100},
|
|
Karsten Hopp |
fe3272 |
! {0x1fe8,0x1fe9,1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fea,0x1feb,1,-112},
|
|
Karsten Hopp |
fe3272 |
! {0x1fec,0x1fec,-1,-7},
|
|
Karsten Hopp |
fe3272 |
! {0x1ff8,0x1ff9,1,-128},
|
|
Karsten Hopp |
fe3272 |
! {0x1ffa,0x1ffb,1,-126},
|
|
Karsten Hopp |
fe3272 |
! {0x1ffc,0x1ffc,-1,-9},
|
|
Karsten Hopp |
fe3272 |
! {0x2126,0x2126,-1,-7517},
|
|
Karsten Hopp |
fe3272 |
! {0x212a,0x212a,-1,-8383},
|
|
Karsten Hopp |
fe3272 |
! {0x212b,0x212b,-1,-8262},
|
|
Karsten Hopp |
fe3272 |
! {0x2132,0x2132,-1,28},
|
|
Karsten Hopp |
fe3272 |
! {0x2160,0x216f,1,16},
|
|
Karsten Hopp |
fe3272 |
! {0x2183,0x2183,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x24b6,0x24cf,1,26},
|
|
Karsten Hopp |
fe3272 |
! {0x2c00,0x2c2e,1,48},
|
|
Karsten Hopp |
fe3272 |
! {0x2c60,0x2c60,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0x2c62,0x2c62,-1,-10743},
|
|
Karsten Hopp |
fe3272 |
! {0x2c63,0x2c63,-1,-3814},
|
|
Karsten Hopp |
fe3272 |
! {0x2c64,0x2c64,-1,-10727},
|
|
Karsten Hopp |
fe3272 |
! {0x2c67,0x2c6b,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x2c6d,0x2c6d,-1,-10780},
|
|
Karsten Hopp |
fe3272 |
! {0x2c6e,0x2c6e,-1,-10749},
|
|
Karsten Hopp |
fe3272 |
! {0x2c6f,0x2c6f,-1,-10783},
|
|
Karsten Hopp |
fe3272 |
! {0x2c70,0x2c70,-1,-10782},
|
|
Karsten Hopp |
fe3272 |
! {0x2c72,0x2c75,3,1},
|
|
Karsten Hopp |
fe3272 |
! {0x2c7e,0x2c7f,1,-10815},
|
|
Karsten Hopp |
fe3272 |
! {0x2c80,0x2ce2,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0x2ceb,0x2ced,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0xa640,0xa65e,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0xa662,0xa66c,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0xa680,0xa696,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0xa722,0xa72e,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0xa732,0xa76e,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0xa779,0xa77b,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0xa77d,0xa77d,-1,-35332},
|
|
Karsten Hopp |
fe3272 |
! {0xa77e,0xa786,2,1},
|
|
Karsten Hopp |
fe3272 |
! {0xa78b,0xa78b,-1,1},
|
|
Karsten Hopp |
fe3272 |
! {0xff21,0xff3a,1,32},
|
|
Karsten Hopp |
fe3272 |
! {0x10400,0x10427,1,40}
|
|
Karsten Hopp |
fe3272 |
};
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
static convertStruct toUpper[] =
|
|
Karsten Hopp |
fe3272 |
{
|
|
Karsten Hopp |
fe3272 |
! {0x61,0x7a,1,-32},
|
|
Karsten Hopp |
fe3272 |
! {0xb5,0xb5,-1,743},
|
|
Karsten Hopp |
fe3272 |
! {0xe0,0xf6,1,-32},
|
|
Karsten Hopp |
fe3272 |
! {0xf8,0xfe,1,-32},
|
|
Karsten Hopp |
fe3272 |
! {0xff,0xff,-1,121},
|
|
Karsten Hopp |
fe3272 |
! {0x101,0x12f,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x131,0x131,-1,-232},
|
|
Karsten Hopp |
fe3272 |
! {0x133,0x137,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x13a,0x148,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x14b,0x177,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x17a,0x17e,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x17f,0x17f,-1,-300},
|
|
Karsten Hopp |
fe3272 |
! {0x180,0x180,-1,195},
|
|
Karsten Hopp |
fe3272 |
! {0x183,0x185,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x188,0x18c,4,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x192,0x192,-1,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x195,0x195,-1,97},
|
|
Karsten Hopp |
fe3272 |
! {0x199,0x199,-1,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x19a,0x19a,-1,163},
|
|
Karsten Hopp |
fe3272 |
! {0x19e,0x19e,-1,130},
|
|
Karsten Hopp |
fe3272 |
! {0x1a1,0x1a5,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x1a8,0x1ad,5,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x1b0,0x1b4,4,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x1b6,0x1b9,3,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x1bd,0x1bd,-1,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x1bf,0x1bf,-1,56},
|
|
Karsten Hopp |
fe3272 |
! {0x1c5,0x1c5,-1,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x1c6,0x1c6,-1,-2},
|
|
Karsten Hopp |
fe3272 |
! {0x1c8,0x1c8,-1,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x1c9,0x1c9,-1,-2},
|
|
Karsten Hopp |
fe3272 |
! {0x1cb,0x1cb,-1,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x1cc,0x1cc,-1,-2},
|
|
Karsten Hopp |
fe3272 |
! {0x1ce,0x1dc,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x1dd,0x1dd,-1,-79},
|
|
Karsten Hopp |
fe3272 |
! {0x1df,0x1ef,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x1f2,0x1f2,-1,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x1f3,0x1f3,-1,-2},
|
|
Karsten Hopp |
fe3272 |
! {0x1f5,0x1f9,4,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x1fb,0x21f,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x223,0x233,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x23c,0x23c,-1,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x23f,0x240,1,10815},
|
|
Karsten Hopp |
fe3272 |
! {0x242,0x247,5,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x249,0x24f,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x250,0x250,-1,10783},
|
|
Karsten Hopp |
fe3272 |
! {0x251,0x251,-1,10780},
|
|
Karsten Hopp |
fe3272 |
! {0x252,0x252,-1,10782},
|
|
Karsten Hopp |
fe3272 |
! {0x253,0x253,-1,-210},
|
|
Karsten Hopp |
fe3272 |
! {0x254,0x254,-1,-206},
|
|
Karsten Hopp |
fe3272 |
! {0x256,0x257,1,-205},
|
|
Karsten Hopp |
fe3272 |
! {0x259,0x259,-1,-202},
|
|
Karsten Hopp |
fe3272 |
! {0x25b,0x25b,-1,-203},
|
|
Karsten Hopp |
fe3272 |
! {0x260,0x260,-1,-205},
|
|
Karsten Hopp |
fe3272 |
! {0x263,0x263,-1,-207},
|
|
Karsten Hopp |
fe3272 |
! {0x268,0x268,-1,-209},
|
|
Karsten Hopp |
fe3272 |
! {0x269,0x269,-1,-211},
|
|
Karsten Hopp |
fe3272 |
! {0x26b,0x26b,-1,10743},
|
|
Karsten Hopp |
fe3272 |
! {0x26f,0x26f,-1,-211},
|
|
Karsten Hopp |
fe3272 |
! {0x271,0x271,-1,10749},
|
|
Karsten Hopp |
fe3272 |
! {0x272,0x272,-1,-213},
|
|
Karsten Hopp |
fe3272 |
! {0x275,0x275,-1,-214},
|
|
Karsten Hopp |
fe3272 |
! {0x27d,0x27d,-1,10727},
|
|
Karsten Hopp |
fe3272 |
! {0x280,0x283,3,-218},
|
|
Karsten Hopp |
fe3272 |
! {0x288,0x288,-1,-218},
|
|
Karsten Hopp |
fe3272 |
! {0x289,0x289,-1,-69},
|
|
Karsten Hopp |
fe3272 |
! {0x28a,0x28b,1,-217},
|
|
Karsten Hopp |
fe3272 |
! {0x28c,0x28c,-1,-71},
|
|
Karsten Hopp |
fe3272 |
! {0x292,0x292,-1,-219},
|
|
Karsten Hopp |
fe3272 |
! {0x345,0x345,-1,84},
|
|
Karsten Hopp |
fe3272 |
! {0x371,0x373,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x377,0x377,-1,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x37b,0x37d,1,130},
|
|
Karsten Hopp |
fe3272 |
! {0x3ac,0x3ac,-1,-38},
|
|
Karsten Hopp |
fe3272 |
! {0x3ad,0x3af,1,-37},
|
|
Karsten Hopp |
fe3272 |
! {0x3b1,0x3c1,1,-32},
|
|
Karsten Hopp |
fe3272 |
! {0x3c2,0x3c2,-1,-31},
|
|
Karsten Hopp |
fe3272 |
! {0x3c3,0x3cb,1,-32},
|
|
Karsten Hopp |
fe3272 |
! {0x3cc,0x3cc,-1,-64},
|
|
Karsten Hopp |
fe3272 |
! {0x3cd,0x3ce,1,-63},
|
|
Karsten Hopp |
fe3272 |
! {0x3d0,0x3d0,-1,-62},
|
|
Karsten Hopp |
fe3272 |
! {0x3d1,0x3d1,-1,-57},
|
|
Karsten Hopp |
fe3272 |
! {0x3d5,0x3d5,-1,-47},
|
|
Karsten Hopp |
fe3272 |
! {0x3d6,0x3d6,-1,-54},
|
|
Karsten Hopp |
fe3272 |
! {0x3d7,0x3d7,-1,-8},
|
|
Karsten Hopp |
fe3272 |
! {0x3d9,0x3ef,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x3f0,0x3f0,-1,-86},
|
|
Karsten Hopp |
fe3272 |
! {0x3f1,0x3f1,-1,-80},
|
|
Karsten Hopp |
fe3272 |
! {0x3f2,0x3f2,-1,7},
|
|
Karsten Hopp |
fe3272 |
! {0x3f5,0x3f5,-1,-96},
|
|
Karsten Hopp |
fe3272 |
! {0x3f8,0x3fb,3,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x430,0x44f,1,-32},
|
|
Karsten Hopp |
fe3272 |
! {0x450,0x45f,1,-80},
|
|
Karsten Hopp |
fe3272 |
! {0x461,0x481,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x48b,0x4bf,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x4c2,0x4ce,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x4cf,0x4cf,-1,-15},
|
|
Karsten Hopp |
fe3272 |
! {0x4d1,0x525,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x561,0x586,1,-48},
|
|
Karsten Hopp |
fe3272 |
! {0x1d79,0x1d79,-1,35332},
|
|
Karsten Hopp |
fe3272 |
! {0x1d7d,0x1d7d,-1,3814},
|
|
Karsten Hopp |
fe3272 |
! {0x1e01,0x1e95,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x1e9b,0x1e9b,-1,-59},
|
|
Karsten Hopp |
fe3272 |
! {0x1ea1,0x1eff,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x1f00,0x1f07,1,8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f10,0x1f15,1,8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f20,0x1f27,1,8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f30,0x1f37,1,8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f40,0x1f45,1,8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f51,0x1f57,2,8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f60,0x1f67,1,8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f70,0x1f71,1,74},
|
|
Karsten Hopp |
fe3272 |
! {0x1f72,0x1f75,1,86},
|
|
Karsten Hopp |
fe3272 |
! {0x1f76,0x1f77,1,100},
|
|
Karsten Hopp |
fe3272 |
! {0x1f78,0x1f79,1,128},
|
|
Karsten Hopp |
fe3272 |
! {0x1f7a,0x1f7b,1,112},
|
|
Karsten Hopp |
fe3272 |
! {0x1f7c,0x1f7d,1,126},
|
|
Karsten Hopp |
fe3272 |
! {0x1f80,0x1f87,1,8},
|
|
Karsten Hopp |
fe3272 |
! {0x1f90,0x1f97,1,8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fa0,0x1fa7,1,8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fb0,0x1fb1,1,8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fb3,0x1fb3,-1,9},
|
|
Karsten Hopp |
fe3272 |
! {0x1fbe,0x1fbe,-1,-7205},
|
|
Karsten Hopp |
fe3272 |
! {0x1fc3,0x1fc3,-1,9},
|
|
Karsten Hopp |
fe3272 |
! {0x1fd0,0x1fd1,1,8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fe0,0x1fe1,1,8},
|
|
Karsten Hopp |
fe3272 |
! {0x1fe5,0x1fe5,-1,7},
|
|
Karsten Hopp |
fe3272 |
! {0x1ff3,0x1ff3,-1,9},
|
|
Karsten Hopp |
fe3272 |
! {0x214e,0x214e,-1,-28},
|
|
Karsten Hopp |
fe3272 |
! {0x2170,0x217f,1,-16},
|
|
Karsten Hopp |
fe3272 |
! {0x2184,0x2184,-1,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x24d0,0x24e9,1,-26},
|
|
Karsten Hopp |
fe3272 |
! {0x2c30,0x2c5e,1,-48},
|
|
Karsten Hopp |
fe3272 |
! {0x2c61,0x2c61,-1,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x2c65,0x2c65,-1,-10795},
|
|
Karsten Hopp |
fe3272 |
! {0x2c66,0x2c66,-1,-10792},
|
|
Karsten Hopp |
fe3272 |
! {0x2c68,0x2c6c,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x2c73,0x2c76,3,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x2c81,0x2ce3,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x2cec,0x2cee,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0x2d00,0x2d25,1,-7264},
|
|
Karsten Hopp |
fe3272 |
! {0xa641,0xa65f,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0xa663,0xa66d,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0xa681,0xa697,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0xa723,0xa72f,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0xa733,0xa76f,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0xa77a,0xa77c,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0xa77f,0xa787,2,-1},
|
|
Karsten Hopp |
fe3272 |
! {0xa78c,0xa78c,-1,-1},
|
|
Karsten Hopp |
fe3272 |
! {0xff41,0xff5a,1,-32},
|
|
Karsten Hopp |
fe3272 |
! {0x10428,0x1044f,1,-40}
|
|
Karsten Hopp |
fe3272 |
};
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
/*
|
|
Karsten Hopp |
fe3272 |
*** ../vim-7.2.329/src/version.c 2010-01-12 15:42:03.000000000 +0100
|
|
Karsten Hopp |
fe3272 |
--- src/version.c 2010-01-12 18:16:55.000000000 +0100
|
|
Karsten Hopp |
fe3272 |
***************
|
|
Karsten Hopp |
fe3272 |
*** 683,684 ****
|
|
Karsten Hopp |
fe3272 |
--- 683,686 ----
|
|
Karsten Hopp |
fe3272 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
fe3272 |
+ /**/
|
|
Karsten Hopp |
fe3272 |
+ 330,
|
|
Karsten Hopp |
fe3272 |
/**/
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
--
|
|
Karsten Hopp |
fe3272 |
From "know your smileys":
|
|
Karsten Hopp |
fe3272 |
<|-) Chinese
|
|
Karsten Hopp |
fe3272 |
<|-( Chinese and doesn't like these kind of jokes
|
|
Karsten Hopp |
fe3272 |
|
|
Karsten Hopp |
fe3272 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
fe3272 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
fe3272 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
fe3272 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|