1 //*******************************************************************************
3 //* Copyright (C) 2002-2006, International Business Machines
4 //* Corporation and others. All Rights Reserved.
6 //*******************************************************************************
8 casing:table(nofallback) {
10 Description { "This is test data file for string casing." }
13 "each item is an array with\n"
14 "input string, result string, locale ID[, break iterator]\n"
15 "the break iterator (only for titlecasing) is specified as an int, same as in UBreakIteratorType:\n"
16 "0=UBRK_CHARACTER 1=UBRK_WORD 2=UBRK_LINE 3=UBRK_SENTENCE 4=UBRK_TITLE -1=default\n"
21 Headers { "Input", "Output", "Locale" }
23 { " tHe QUIcK bRoWn", " the quick brown", "" },
24 { "aBIΣßΣ/𐐅", "abiσßς/𐐭", "" },
25 { "aBIΣßΣ/𐐅", "abıσßς/𐐭", "tur" } // tur: 3-letter code for Turkish
29 Headers { "Input", "Output", "Locale" }
31 { " tHe QUIcK bRoWn", " THE QUICK BROWN", "" },
32 { "aBiσßς/ffi𐐭", "ABIΣSSΣ/FFI𐐅", "" },
33 { "aBiσßς/ffi𐐭", "ABİΣSSΣ/FFI𐐅", "az" } // az same casing as tr
37 Headers { "Input", "Output", "Locale", "Type" }
39 { "ʻaMeLikA huI Pū ʻʻʻiA", "ʻAmelika Hui Pū ʻʻʻIa", "", "-1" }, // titlecase first _cased_ letter, j4933
40 { " tHe QUIcK bRoWn", " The Quick Brown", "", "4" },
41 { "DŽDždžLJLjljNJNjnj", "DžDžDžLjLjLjNjNjNj", "", "0" }, // UBRK_CHARACTER
42 { "ljubav ljubav", "Ljubav Ljubav", "", "-1" }, // Lj vs. L+j
43 { "'oH dOn'T tItLeCaSe AfTeR lEtTeR+'", "'Oh Don't Titlecase After Letter+'", "", "-1" }