]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/unicode/ucoleitr.h
ICU-461.12.tar.gz
[apple/icu.git] / icuSources / i18n / unicode / ucoleitr.h
index 9c951a9ab86bcef13467b3d763ae0e48fd0b23fa..419cb9f7de6693711dbc09185ee62d86b9c94301 100644 (file)
@@ -1,6 +1,6 @@
 /*
 *******************************************************************************
-*   Copyright (C) 2001-2008, International Business Machines
+*   Copyright (C) 2001-2009, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 *******************************************************************************
 *
@@ -121,6 +121,7 @@ ucol_openElements(const UCollator  *coll,
                         int32_t    textLength,
                         UErrorCode *status);
 
+
 /**
  * get a hash code for a key... Not very useful!
  * @param key    the given key.
@@ -152,6 +153,20 @@ ucol_closeElements(UCollationElements *elems);
 U_STABLE void U_EXPORT2 
 ucol_reset(UCollationElements *elems);
 
+/**
+ * Set the collation elements to use implicit ordering for Han
+ * even if they've been tailored. This will also force Hangul
+ * syllables to be ordered by decomposing them to their component
+ * Jamo.
+ *
+ * @param elems The UCollationElements containing the text.
+ * @param status A pointer to a UErrorCode to reveive any errors.
+ *
+ * @internal
+ */
+U_INTERNAL void U_EXPORT2
+ucol_forceHanImplicit(UCollationElements *elems, UErrorCode *status);
+
 /**
  * Get the ordering priority of the next collation element in the text.
  * A single character may contain more than one collation element.