/*
******************************************************************************
*
-* Copyright (C) 1997-2008, International Business Machines
+* Copyright (C) 1997-2009, International Business Machines
* Corporation and others. All Rights Reserved.
*
******************************************************************************
* \file
* \brief C API: Platform Utilities
*/
-
-/* Define this to 1 if your platform supports IEEE 754 floating point,
+
+/** Define this to 1 if your platform supports IEEE 754 floating point,
to 0 if it does not. */
#ifndef IEEE_754
# define IEEE_754 1
* If u_setDataDirectory() has been called, that is it, otherwise
* if the ICU_DATA environment variable is set, use that, otherwise
* If a data directory was specifed at ICU build time
- * <code>( #define ICU_DATA_DIR "path" )</code>, use that,
+ * <code>
+ * \code
+ * #define ICU_DATA_DIR "path"
+ * \endcode
+ * </code> use that,
* otherwise no data directory is available.
*
* @return the data directory, or an empty string ("") if no data directory has
*/
U_STABLE void U_EXPORT2 u_setDataDirectory(const char *directory);
+#if !U_CHARSET_IS_UTF8
/**
* Please use ucnv_getDefaultName() instead.
* Return the default codepage for this platform and locale.
* @internal
*/
U_INTERNAL const char* U_EXPORT2 uprv_getDefaultCodepage(void);
+#endif
/**
* Please use uloc_getDefault() instead.
U_INTERNAL const char* U_EXPORT2 uprv_getDefaultLocaleID(void);
/**
+ * @{
* Filesystem file and path separator characters.
* Example: '/' and ':' on Unix, '\\' and ';' on Windows.
* @stable ICU 2.0
# define U_PATH_SEP_STRING ":"
#endif
+/** @} */
+
/**
* Convert char characters to UChar characters.
* This utility function is useful only for "invariant characters"