OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 // U+1780 through U+18AF Tagalog, Hanunoo, Buhid, Taghanwa,Khmer, Mongol
ian | 105 // U+1780 through U+18AF Tagalog, Hanunoo, Buhid, Taghanwa,Khmer, Mongol
ian |
106 0x1700, 0x18AF, | 106 0x1700, 0x18AF, |
107 // U+1900 through U+194F Limbu (Unicode 4.0) | 107 // U+1900 through U+194F Limbu (Unicode 4.0) |
108 0x1900, 0x194F, | 108 0x1900, 0x194F, |
109 // U+1980 through U+19DF New Tai Lue | 109 // U+1980 through U+19DF New Tai Lue |
110 0x1980, 0x19DF, | 110 0x1980, 0x19DF, |
111 // U+1A00 through U+1CFF Buginese, Tai Tham, Balinese, Batak, Lepcha, Ve
dic | 111 // U+1A00 through U+1CFF Buginese, Tai Tham, Balinese, Batak, Lepcha, Ve
dic |
112 0x1A00, 0x1CFF, | 112 0x1A00, 0x1CFF, |
113 // U+1DC0 through U+1DFF Comining diacritical mark supplement | 113 // U+1DC0 through U+1DFF Comining diacritical mark supplement |
114 0x1DC0, 0x1DFF, | 114 0x1DC0, 0x1DFF, |
| 115 // RIGHT-TO-LEFT MARK |
| 116 0x200B, 0x200F, |
| 117 // RIGHT-TO-LEFT OVERRIDE |
| 118 0x202A, 0x202E, |
| 119 // Nominal Digit Shape |
| 120 0x2060, 0x206F, |
115 // U+20D0 through U+20FF Combining marks for symbols | 121 // U+20D0 through U+20FF Combining marks for symbols |
116 0x20D0, 0x20FF, | 122 0x20D0, 0x20FF, |
117 // U+2CEF through U+2CF1 Combining marks for Coptic | 123 // U+2CEF through U+2CF1 Combining marks for Coptic |
118 0x2CEF, 0x2CF1, | 124 0x2CEF, 0x2CF1, |
119 // U+302A through U+302F Ideographic and Hangul Tone marks | 125 // U+302A through U+302F Ideographic and Hangul Tone marks |
120 0x302A, 0x302F, | 126 0x302A, 0x302F, |
121 // U+A67C through U+A67D Combining marks for old Cyrillic | 127 // U+A67C through U+A67D Combining marks for old Cyrillic |
122 0xA67C, 0xA67D, | 128 0xA67C, 0xA67D, |
123 // U+A6F0 through U+A6F1 Combining mark for Bamum | 129 // U+A6F0 through U+A6F1 Combining mark for Bamum |
124 0xA6F0, 0xA6F1, | 130 0xA6F0, 0xA6F1, |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 { | 383 { |
378 return normalizeSpacesInternal(characters, length); | 384 return normalizeSpacesInternal(characters, length); |
379 } | 385 } |
380 | 386 |
381 String Character::normalizeSpaces(const UChar* characters, unsigned length) | 387 String Character::normalizeSpaces(const UChar* characters, unsigned length) |
382 { | 388 { |
383 return normalizeSpacesInternal(characters, length); | 389 return normalizeSpacesInternal(characters, length); |
384 } | 390 } |
385 | 391 |
386 } | 392 } |
OLD | NEW |