mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-15 17:56:54 +00:00
ICU-4225 remove non-ascii characters from source code
X-SVN-Rev: 16835
This commit is contained in:
parent
4e7f18eaec
commit
9f6f294e5f
12 changed files with 20 additions and 20 deletions
|
@ -200,7 +200,7 @@ U_INTERNAL double U_EXPORT2 uprv_round(double x);
|
|||
*
|
||||
* If the TZ value is not set, t_tzset() attempts to use the time zone
|
||||
* information specified by the operating system. Under Windows NT
|
||||
* and Windows 95, this information is specified in the Control Panel’s
|
||||
* and Windows 95, this information is specified in the Control Panel's
|
||||
* Date/Time application.
|
||||
* @internal
|
||||
*/
|
||||
|
|
|
@ -541,7 +541,7 @@ public:
|
|||
* dispCountry to "Etats-Unis".
|
||||
* @param displayLocale Specifies the locale to be used to display the name. In other
|
||||
* words, if the locale's country code is "US", passing
|
||||
* Locale::getFrench() for displayLocale would result in "États-Unis", while
|
||||
* Locale::getFrench() for displayLocale would result in "États-Unis", while
|
||||
* passing Locale::getGerman() for displayLocale would result in
|
||||
* "Vereinigte Staaten".
|
||||
* @param dispCountry Receives the country's display name.
|
||||
|
@ -589,8 +589,8 @@ public:
|
|||
* in the locale specfied by "displayLocale". This function uses getDisplayLanguage(),
|
||||
* getDisplayCountry(), and getDisplayVariant() to do its work, and outputs the display
|
||||
* name in the format "language (country[,variant])". For example, if displayLocale is
|
||||
* fr_FR, then en_US's display name would be "Anglais (États-Unis)", and no_NO_NY's
|
||||
* display name would be "norvégien (Norvège,NY)".
|
||||
* fr_FR, then en_US's display name would be "Anglais (États-Unis)", and no_NO_NY's
|
||||
* display name would be "norvégien (Norvège,NY)".
|
||||
* @param displayLocale Specifies the locale to be used to display the name.
|
||||
* @param name Receives the locale's display name.
|
||||
* @return A reference to "name".
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
/*
|
||||
* uconv(1): an iconv(1)-like converter using ICU.
|
||||
*
|
||||
* Original code by Jonas Utterström <jonas.utterstrom@vittran.norrnod.se>
|
||||
* Original code by Jonas Utterström <jonas.utterstrom@vittran.norrnod.se>
|
||||
* contributed in 1999.
|
||||
*
|
||||
* Conversion to the C conversion API and many improvements by
|
||||
|
|
|
@ -339,7 +339,7 @@ CollationElementIterator::CollationElementIterator(
|
|||
{
|
||||
// A CollationElementIterator is really a two-layered beast.
|
||||
// Internally it uses a Normalizer to munge the source text into a form
|
||||
// where all "composed" Unicode characters (such as ü) are split into a
|
||||
// where all "composed" Unicode characters (such as ü) are split into a
|
||||
// normal character and a combining accent character.
|
||||
// Afterward, CollationElementIterator does its own processing to handle
|
||||
// expanding and contracting collation sequences, ignorables, and so on.
|
||||
|
|
|
@ -396,7 +396,7 @@ UCollationResult RuleBasedCollator::compare(
|
|||
* character in the source string, convert them to an ASCII representation, and
|
||||
* put them into the collation key. But it's trickier than that. Each
|
||||
* collation element in a string has three components: primary ('A' vs 'B'),
|
||||
* secondary ('u' vs 'ü'), and tertiary ('A' vs 'a'), and a primary difference
|
||||
* secondary ('u' vs 'ü'), and tertiary ('A' vs 'a'), and a primary difference
|
||||
* at the end of a string takes precedence over a secondary or tertiary
|
||||
* difference earlier in the string.
|
||||
*
|
||||
|
@ -408,7 +408,7 @@ UCollationResult RuleBasedCollator::compare(
|
|||
* Here's a hypothetical example, with the collation element represented as a
|
||||
* three-digit number, one digit for primary, one for secondary, etc.
|
||||
*
|
||||
* String: A a B É
|
||||
* String: A a B É
|
||||
* Collation Elements: 101 100 201 511
|
||||
* Collation Key: 1125<null>0001<null>1011<null>
|
||||
*
|
||||
|
|
|
@ -60,7 +60,7 @@ U_NAMESPACE_BEGIN
|
|||
* And in German,
|
||||
* <pre>
|
||||
* \code
|
||||
* "æb"-> the first key is key('a'), the second key is key('e'), and
|
||||
* "æb"-> the first key is key('a'), the second key is key('e'), and
|
||||
* the third key is key('b').
|
||||
* \endcode
|
||||
* </pre>
|
||||
|
|
|
@ -185,7 +185,7 @@ public:
|
|||
* Diacritical differences on the same base letter represent a secondary
|
||||
* difference. Set comparison level to SECONDARY to ignore tertiary
|
||||
* differences. Use this to set the strength of a Collator object.<br>
|
||||
* Example of secondary difference, "ä" >> "a".
|
||||
* Example of secondary difference, "ä" >> "a".
|
||||
*
|
||||
* Uppercase and lowercase versions of the same character represents a
|
||||
* tertiary difference. Set comparison level to TERTIARY to include all
|
||||
|
@ -195,7 +195,7 @@ public:
|
|||
*
|
||||
* Two characters are considered "identical" when they have the same unicode
|
||||
* spellings.<br>
|
||||
* For example, "ä" == "ä".
|
||||
* For example, "ä" == "ä".
|
||||
*
|
||||
* UCollationStrength is also used to determine the strength of sort keys
|
||||
* generated from Collator objects.
|
||||
|
|
|
@ -25,7 +25,7 @@ U_NAMESPACE_BEGIN
|
|||
* language-sensitive text searching based on the comparison rules defined
|
||||
* in a {@link RuleBasedCollator} object.
|
||||
* StringSearch ensures that language eccentricity can be
|
||||
* handled, e.g. for the German collator, characters ß and SS will be matched
|
||||
* handled, e.g. for the German collator, characters ß and SS will be matched
|
||||
* if case is chosen to be ignored.
|
||||
* See the <a href="http://oss.software.ibm.com/cvs/icu/~checkout~/icuhtml/design/collation/ICU_collation_design.htm">
|
||||
* "ICU Collation Design Document"</a> for more information.
|
||||
|
@ -49,7 +49,7 @@ U_NAMESPACE_BEGIN
|
|||
* there exists no non-ignorable combining mark before or after S?
|
||||
* in S respectively.
|
||||
* </pre>
|
||||
* Option 2. will be the default·
|
||||
* Option 2. will be the default.
|
||||
* <p>
|
||||
* This search has APIs similar to that of other text iteration mechanisms
|
||||
* such as the break iterators in <tt>BreakIterator</tt>. Using these
|
||||
|
|
|
@ -149,7 +149,7 @@ typedef enum {
|
|||
* Diacritical differences on the same base letter represent a secondary
|
||||
* difference. Set comparison level to UCOL_SECONDARY to ignore tertiary
|
||||
* differences. Use this to set the strength of a Collator object.
|
||||
* Example of secondary difference, "ä" >> "a".
|
||||
* Example of secondary difference, "ä" >> "a".
|
||||
*
|
||||
* Uppercase and lowercase versions of the same character represents a
|
||||
* tertiary difference. Set comparison level to UCOL_TERTIARY to include
|
||||
|
@ -159,7 +159,7 @@ typedef enum {
|
|||
*
|
||||
* Two characters are considered "identical" when they have the same
|
||||
* unicode spellings. UCOL_IDENTICAL.
|
||||
* For example, "ä" == "ä".
|
||||
* For example, "ä" == "ä".
|
||||
*
|
||||
* UCollationStrength is also used to determine the strength of sort keys
|
||||
* generated from UCollator objects
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
* C Apis for an engine that provides language-sensitive text searching based
|
||||
* on the comparison rules defined in a <tt>UCollator</tt> data struct,
|
||||
* see <tt>ucol.h</tt>. This ensures that language eccentricity can be
|
||||
* handled, e.g. for the German collator, characters ß and SS will be matched
|
||||
* handled, e.g. for the German collator, characters ß and SS will be matched
|
||||
* if case is chosen to be ignored.
|
||||
* See the <a href="http://oss.software.ibm.com/cvs/icu/~checkout~/icuhtml/design/collation/ICU_collation_design.htm">
|
||||
* "ICU Collation Design Document"</a> for more information.
|
||||
|
@ -45,10 +45,10 @@
|
|||
* option 1. Some canonical equivalent of P matches some canonical equivalent
|
||||
* of S'
|
||||
* option 2. P matches S' and if P starts or ends with a combining mark,
|
||||
* there exists no non-ignorable combining mark before or after S’
|
||||
* there exists no non-ignorable combining mark before or after S'
|
||||
* in S respectively.
|
||||
* </pre>
|
||||
* Option 2. will be the default·
|
||||
* Option 2. will be the default.
|
||||
* <p>
|
||||
* This search has APIs similar to that of other text iteration mechanisms
|
||||
* such as the break iterators in <tt>ubrk.h</tt>. Using these
|
||||
|
|
|
@ -124,7 +124,7 @@
|
|||
*
|
||||
* <tr>
|
||||
* <td>1 sec</td>
|
||||
* <td align="right">5.84542×10¹¹</td>
|
||||
* <td align="right">5.84542×10¹¹</td>
|
||||
* <td align="right">285,420,920.94</td>
|
||||
* <td align="right">136.10</td>
|
||||
* </tr>
|
||||
|
|
|
@ -56,7 +56,7 @@ const char* rawData[33][8] = {
|
|||
// display variant (French)
|
||||
{ "", "", "", "", "NY", "", "", "" },
|
||||
// display name (French)
|
||||
//{ "anglais (États-Unis)", "français (France)", "catalan (Espagne)", "grec (Grèce)", "norvégien (Norvège,Nynorsk)", "italien", "xx (YY)" },
|
||||
//{ "anglais (Etats-Unis)", "francais (France)", "catalan (Espagne)", "grec (Grece)", "norvegien (Norvege,Nynorsk)", "italien", "xx (YY)" },
|
||||
{ "anglais (\\u00C9tats-Unis)", "fran\\u00E7ais (France)", "catalan (Espagne)", "grec (Gr\\u00E8ce)", "norv\\u00E9gien (Norv\\u00E8ge, NY)", "italien", "xx (YY)", "chinois (han simplifi\\u00E9, Chine)" }, // STILL not right
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue