You might be confusing hex with decimal. 89 hex is equal to 137 decimal.
The unicode character with value U+0089 is CHARACTER TABULATION WITH
JUSTIFICATION. This is not a printable character which is why you get a
replacement character instead (a character that displays its code point in
a box).

The character ‰ is U+2030 PER MILLE SIGN and I can't explain why'd see
that. I think I have to see the actual values you try to apply ⎕ucs on.


On 9 September 2015 at 10:15, <[email protected]> wrote:

> Hi Bug APL,
>
> The spec for PNG says that the first byte for a PNG image has a value of
> 89.
> When I read in a PNG, and I check the first value it is 137. When I ⎕ucs
> that, I get ‰
>
>
> I tried copy and pasting, but it does not look like it displays in my mail
> client....Anyways it looks like a square box with "00" on top and "89" on
> the bottom. I guess this is the value I am looking for. however, this
> symbol is not equal to 89. What I am I looking at here? Is it possible to
> write this character, so that I can use it for checking if a file is a PNG?
>
>
> -Alex
>

Reply via email to