blob: 9dcb11da20b546c0c67fb6704e03a1ee49934eb7 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef DEVICE_BLUETOOTH_STRING_UTIL_ICU_H_
#define DEVICE_BLUETOOTH_STRING_UTIL_ICU_H_
#include "base/strings/string_piece.h"
#include "device/bluetooth/bluetooth_export.h"
namespace device {
// Returns true if the string contains any Unicode Graphic characters as defined
// by http://www.unicode.org/reports/tr18/#graph
bool DEVICE_BLUETOOTH_EXPORT HasGraphicCharacter(base::StringPiece s);
} // namespace device
#endif // DEVICE_BLUETOOTH_STRING_UTIL_ICU_H_