mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 18:25:57 +00:00
ICU-2235 swapping update- typos in docs
X-SVN-Rev: 12971
This commit is contained in:
parent
112137af62
commit
4ba9021923
2 changed files with 11 additions and 4 deletions
|
@ -16,7 +16,7 @@ subdir = tools/icuswap
|
|||
|
||||
##
|
||||
|
||||
SECTION = 8
|
||||
SECTION = 1
|
||||
|
||||
MANX_FILES = $(TARGET:$(EXEEXT)=).$(SECTION)
|
||||
|
||||
|
|
|
@ -97,7 +97,7 @@ printUsage(const char *pname, UBool ishelp) {
|
|||
" Read the input file, swap its platform properties according\n"
|
||||
" to the -t or --type option, and write the result to the output file.\n"
|
||||
" -tl change to little-endian/ASCII charset family\n"
|
||||
" -tb change to little-endian/ASCII charset family\n"
|
||||
" -tb change to big-endian/ASCII charset family\n"
|
||||
" -te change to little-endian/EBCDIC charset family\n");
|
||||
}
|
||||
|
||||
|
@ -297,9 +297,16 @@ udata_swap(const UDataSwapper *ds,
|
|||
}
|
||||
|
||||
/* the dataFormat was not recognized */
|
||||
udata_printError(ds, "udata_swap(): unknown data format %02x.%02x.%02x.%02x\n",
|
||||
udata_printError(ds, "udata_swap(): unknown data format %02x.%02x.%02x.%02x %c%c%c%c\n",
|
||||
pInfo->dataFormat[0], pInfo->dataFormat[1],
|
||||
pInfo->dataFormat[2], pInfo->dataFormat[3]);
|
||||
pInfo->dataFormat[2], pInfo->dataFormat[3],
|
||||
#if (U_CHARSET_FAMILY == U_ASCII_FAMILY)
|
||||
(char)pInfo->dataFormat[0], (char)pInfo->dataFormat[1],
|
||||
(char)pInfo->dataFormat[2], (char)pInfo->dataFormat[3]);
|
||||
#else
|
||||
' ',' ',' ',' ');
|
||||
#endif
|
||||
|
||||
*pErrorCode=U_UNSUPPORTED_ERROR;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue