/*
* Copyright © 2014 Canonical Limited
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
else /* no match found */
g_string_append_c (result, '?');
}
- else if (*str & 0x80) /* Out-of-range non-ASCII case */
- {
- g_string_append_c (result, '?');
- str = g_utf8_next_char (str);
- }
else /* ASCII case */
g_string_append_c (result, *str++);
}