+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
*
*
*******************************************************************************
* file name: icuzdump.cpp
-* encoding: US-ASCII
+* encoding: UTF-8
* tab size: 8 (not used)
* indentation:4
*
#include "unicode/ustream.h"
#include "unicode/putil.h"
+#include "cmemory.h"
#include "uoptions.h"
using namespace std;
+using namespace icu;
class DumpFormatter {
public:
const char *linesep = NULL;
U_MAIN_INIT_ARGS(argc, argv);
- argc = u_parseArgs(argc, argv, sizeof(options)/sizeof(options[0]), options);
+ argc = u_parseArgs(argc, argv, UPRV_LENGTHOF(options), options);
if (argc < 0) {
cerr << "Illegal command line argument(s)" << endl << endl;