]> gitweb.factorcode.org Git - factor.git/blobdiff - core/io/encodings/encodings.factor
use radix literals
[factor.git] / core / io / encodings / encodings.factor
index 1a6df8898e6b80afee107d9406f0c89c85898fca..aa5d3af93e0e7ba47b6778991a4edeea93882599 100644 (file)
@@ -23,7 +23,7 @@ M: object encode-string [ encode-char ] 2curry each ; inline
 
 GENERIC: <decoder> ( stream encoding -- newstream )
 
-CONSTANT: replacement-char HEX: fffd
+CONSTANT: replacement-char 0xfffd
 
 TUPLE: decoder { stream read-only } { code read-only } { cr boolean } ;
 INSTANCE: decoder input-stream