Josef 'Jeff' Sipek <jef...@josefsipek.net> wrote:
    > Recently, I was thinking about the fun fact that the Unicode string
    > "bor" and the byte string "BOR" end up getting encoded as "cbor" and
    > "CBOR", respectively.

obiwan-[work/richardson/cbor-file-magic](2.6.6) mcr 10355 %echo -n cbor | 
cbor2diag.rb
"bor"

obiwan-[work/richardson/cbor-file-magic](2.6.6) mcr 10356 %echo -n CBOR | 
cbor2diag.rb
h'424F52'

so, the first case is true, but the second does not seem to be.


--
Michael Richardson <mcr+i...@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide




Attachment: signature.asc
Description: PGP signature

_______________________________________________
COSE mailing list
COSE@ietf.org
https://www.ietf.org/mailman/listinfo/cose

Reply via email to