mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 02:07:15 +00:00
ICU-880 Add message when using locale fallbacks, increase max file size.
X-SVN-Rev: 4907
This commit is contained in:
parent
52afc81fd8
commit
a581d73d9c
1 changed files with 8 additions and 1 deletions
|
@ -944,6 +944,13 @@ int main(int argc, const char** argv) {
|
|||
fprintf(stderr, "Collator creation failed.: %d\n", status);
|
||||
return -1;
|
||||
}
|
||||
if (status==U_USING_DEFAULT_ERROR && opt_terse==FALSE) {
|
||||
fprintf(stderr, "Warning, U_USING_DEFAULT_ERROR for %s\n", opt_locale);
|
||||
}
|
||||
if (status==U_USING_FALLBACK_ERROR && opt_terse==FALSE) {
|
||||
fprintf(stderr, "Warning, U_USING_FALLBACK_ERROR for %s\n", opt_locale);
|
||||
}
|
||||
|
||||
if (opt_norm) {
|
||||
ucol_setAttribute(gCol, UCOL_NORMALIZATION_MODE, UCOL_ON, &status);
|
||||
}
|
||||
|
@ -1018,7 +1025,7 @@ int main(int argc, const char** argv) {
|
|||
exit(-1);
|
||||
}
|
||||
|
||||
const int MAXLINES = 10000;
|
||||
const int MAXLINES = 40000;
|
||||
gFileLines = new Line[MAXLINES];
|
||||
UChar buf[1024];
|
||||
int column = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue