--- a/Stream.st Thu Jun 14 11:47:20 2018 +0200
+++ b/Stream.st Thu Jun 14 11:47:31 2018 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
"
COPYRIGHT (c) 1989 by Claus Gittinger
All Rights Reserved
@@ -2045,7 +2047,7 @@
"
(#[] writeStream
- nextPutAllUtf16Bytes:'BÄxxx' MSB:true;
+ nextPutAllUtf16Bytes:'BÃxxx' MSB:true;
nextPutUtf16:(Character codePoint:16r10CCCC) MSB:true;
contents)
"
@@ -2080,15 +2082,15 @@
].
String streamContents:[:s|
- s nextPutAllUtf8:'abcdeäöüß' asUnicode32String
+ s nextPutAllUtf8:'abcdeäöüÃ' asUnicode32String
].
.
ByteArray streamContents:[:s|
- s nextPutAllUtf8:'abcdeäöüß' asUnicode32String
+ s nextPutAllUtf8:'abcdeäöüÃ' asUnicode32String
].
'/tmp/bytes' asFilename writingFileDo:[:s|
- s nextPutAllUtf8:'abcdeäöüß'
+ s nextPutAllUtf8:'abcdeäöüÃ'
].
"
@@ -2499,7 +2501,7 @@
"
((WriteStream on:Unicode16String new)
nextPutUtf16:$B;
- nextPutUtf16:$Ä;
+ nextPutUtf16:$Ã;
nextPutUtf16:(Character codePoint:16r10CCCC)
yourself) contents
"
@@ -2534,19 +2536,19 @@
"
(#[] writeStream
nextPutUtf16Bytes:$B MSB:true;
- nextPutUtf16Bytes:$Ä MSB:true;
+ nextPutUtf16Bytes:$Ã MSB:true;
nextPutUtf16Bytes:(Character codePoint:16r10CCCC) MSB:true;
contents)
('' writeStream
nextPutUtf16Bytes:$B MSB:true;
- nextPutUtf16Bytes:$Ä MSB:true;
+ nextPutUtf16Bytes:$Ã MSB:true;
nextPutUtf16Bytes:(Character codePoint:16r10CCCC) MSB:true;
contents)
(FileStream newTemporary
nextPutUtf16Bytes:$B MSB:false;
- nextPutUtf16Bytes:$Ä MSB:false;
+ nextPutUtf16Bytes:$Ã MSB:false;
nextPutUtf16Bytes:(Character codePoint:16r10CCCC) MSB:false;
reset;
binary;
@@ -2658,7 +2660,7 @@
"
(String streamContents:[:s|
s nextPutUtf8:$a.
- s nextPutUtf8:$ü.
+ s nextPutUtf8:$ü.
s nextPutUtf8: (Character value:16r1fff).
s nextPutUtf8: (Character value:16rffff).
s nextPutUtf8: (Character value:16r1ffffff).
@@ -4024,7 +4026,7 @@
%% - escape for %
%<cr> - cr (also tab, nl)"
- formatSpec expandPlaceholders:$% with:args on:self
+ formatSpec expandPlaceholders:$% with:args ignoreNumericEscapes:false on:self
"
1 to: 10 do:[:i |
@@ -4033,6 +4035,8 @@
with:{i . 'my' . 'nice'}
].
"
+
+ "Modified: / 14-06-2018 / 11:46:37 / Claus Gittinger"
!
lf