]> Kevux Git Server - fll/commit
Bugfix: Currency symbols are incorrectly being designated as unassigned.
authorKevin Day <Kevin@kevux.org>
Sat, 19 Jul 2025 00:53:38 +0000 (19:53 -0500)
committerKevin Day <Kevin@kevux.org>
Sat, 19 Jul 2025 00:57:51 +0000 (19:57 -0500)
commit18763edad3d017ef380659422c324392463140fa
treebb7dc4980978fc1418ac7191f840767a72807e77
parent902947c770df3a107c721a47c814aebbb40c35b1
Bugfix: Currency symbols are incorrectly being designated as unassigned.

An improper check in `private_f_utf_character_is_unassigned()` is resulting in valid currency symbols being treated as undefined.

Example:
```
  # echo "₿" | byte_dump -wt 4
  Piped Byte Dump: (in Hexidecimal)
  0000000000000000  e2 82 bf 0a  | �     ␊  |

  Invalid UTF-8 codes were detected for file '-'.
```

The following is the expected valid results:
```
  # echo "₿" | byte_dump -wt 4
  Piped Byte Dump: (in Hexidecimal)
  0000000000000000  e2 82 bf 0a  | ₿     ␊  |
```
level_0/f_utf/c/private-utf_unassigned.c