mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
merge some changes from develop branch; modernize and clean-up code; remove support for compiling without POCO_WIN32_UTF8
This commit is contained in:
@@ -103,6 +103,9 @@ public:
|
||||
/// Returns true iff the given character is an uppercase alphabetic
|
||||
/// character.
|
||||
|
||||
static bool isPrintable(int ch);
|
||||
/// Returns true iff the given character is printable.
|
||||
|
||||
static int toLower(int ch);
|
||||
/// If the given character is an uppercase character,
|
||||
/// return its lowercase counterpart, otherwise return
|
||||
@@ -196,6 +199,12 @@ inline bool Ascii::isUpper(int ch)
|
||||
}
|
||||
|
||||
|
||||
inline bool Ascii::isPrintable(int ch)
|
||||
{
|
||||
return hasProperties(ch, ACP_PRINT);
|
||||
}
|
||||
|
||||
|
||||
inline int Ascii::toLower(int ch)
|
||||
{
|
||||
if (isUpper(ch))
|
||||
|
||||
Reference in New Issue
Block a user