g_unichar_isxdigit() and g_unichar_xdigit_value() should deal with full-width a-fA-F
Submitted by Nikolai Weibull
Link to original bug (#347844)
Description
Please describe the problem: Currently, g_unichar_isxdigit() and g_unichar_xdigit_value() ignore the full-width representations of the characters 'a' through 'f' and 'A' through 'F', even though it does take full-width digits into consideration.
Steps to reproduce: 1. 2. 3.
Actual results:
Expected results:
Does this happen every time?
Other information: A simple addition of #define G_UNICHAR_FULLWIDTH_A 0xff21 #define G_UNICHAR_FULLWIDTH_F 0xff26 #define G_UNICHAR_FULLWIDTH_a 0xff41 #define G_UNICHAR_FULLWIDTH_f 0xff46
with the appropriate test should suffice.
Version: 2.12.x