scuffed-code/icu4c/source/samples/msgfmt/util.h
Jeff Genovy 9f62b0dada ICU-13171 Update the VS project files to use VS 2017, plus various fixes to get Samples compiling.
Also add explicit defines for WINVER and _WIN32_WINNT for Windows 7 targeting in non-UWP projects.

X-SVN-Rev: 40935
2018-02-16 03:16:03 +00:00

23 lines
879 B
C++

/**********************************************************************
* © 2016 and later: Unicode, Inc. and others.
* License & terms of use: http://www.unicode.org/copyright.html#License
***********************************************************************
***********************************************************************
* COPYRIGHT:
* Copyright (c) 1999-2002, International Business Machines Corporation and
* others. All Rights Reserved.
***********************************************************************/
#include "unicode/unistr.h"
using namespace icu;
// Verify that a UErrorCode is successful; exit(1) if not
void check(UErrorCode& status, const char* msg);
// Replace nonprintable characters with unicode escapes
UnicodeString escape(const UnicodeString &source);
// Print the given string to stdout
void uprintf(const UnicodeString &str);