]> 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:53:38 +0000 (19:53 -0500)
commit83ccf092c36c71bc55f50b0119fc7142a404b602
tree73e653da819489dbe00e65606cf2c3798d2cd7bf
parentee60b0b218f0623735dbb0813befcd55780125df
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