Fix unit test for the `number_codes/2` standard predicate to avoid portability issues due to the lack of a standard way to specify text encodings