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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 // U+1780 through U+18AF Tagalog, Hanunoo, Buhid, Taghanwa,Khmer, Mongol
ian | 94 // U+1780 through U+18AF Tagalog, Hanunoo, Buhid, Taghanwa,Khmer, Mongol
ian |
95 0x1700, 0x18AF, | 95 0x1700, 0x18AF, |
96 // U+1900 through U+194F Limbu (Unicode 4.0) | 96 // U+1900 through U+194F Limbu (Unicode 4.0) |
97 0x1900, 0x194F, | 97 0x1900, 0x194F, |
98 // U+1980 through U+19DF New Tai Lue | 98 // U+1980 through U+19DF New Tai Lue |
99 0x1980, 0x19DF, | 99 0x1980, 0x19DF, |
100 // U+1A00 through U+1CFF Buginese, Tai Tham, Balinese, Batak, Lepcha, Ve
dic | 100 // U+1A00 through U+1CFF Buginese, Tai Tham, Balinese, Batak, Lepcha, Ve
dic |
101 0x1A00, 0x1CFF, | 101 0x1A00, 0x1CFF, |
102 // U+1DC0 through U+1DFF Comining diacritical mark supplement | 102 // U+1DC0 through U+1DFF Comining diacritical mark supplement |
103 0x1DC0, 0x1DFF, | 103 0x1DC0, 0x1DFF, |
104 // RIGHT-TO-LEFT MARK | |
105 0x200B, 0x200F, | |
106 // RIGHT-TO-LEFT OVERRIDE | |
107 0x202A, 0x202E, | |
108 // Nominal Digit Shape | 104 // Nominal Digit Shape |
109 0x2060, 0x206F, | 105 0x2060, 0x206F, |
110 // U+20D0 through U+20FF Combining marks for symbols | 106 // U+20D0 through U+20FF Combining marks for symbols |
111 0x20D0, 0x20FF, | 107 0x20D0, 0x20FF, |
112 // U+2CEF through U+2CF1 Combining marks for Coptic | 108 // U+2CEF through U+2CF1 Combining marks for Coptic |
113 0x2CEF, 0x2CF1, | 109 0x2CEF, 0x2CF1, |
114 // U+302A through U+302F Ideographic and Hangul Tone marks | 110 // U+302A through U+302F Ideographic and Hangul Tone marks |
115 0x302A, 0x302F, | 111 0x302A, 0x302F, |
116 // U+A67C through U+A67D Combining marks for old Cyrillic | 112 // U+A67C through U+A67D Combining marks for old Cyrillic |
117 0xA67C, 0xA67D, | 113 0xA67C, 0xA67D, |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 { | 368 { |
373 return normalizeSpacesInternal(characters, length); | 369 return normalizeSpacesInternal(characters, length); |
374 } | 370 } |
375 | 371 |
376 String Character::normalizeSpaces(const UChar* characters, unsigned length) | 372 String Character::normalizeSpaces(const UChar* characters, unsigned length) |
377 { | 373 { |
378 return normalizeSpacesInternal(characters, length); | 374 return normalizeSpacesInternal(characters, length); |
379 } | 375 } |
380 | 376 |
381 } | 377 } |
OLD | NEW |