Commit 7a4d09a
committed
Never change the underlying string encoding
StringIO should be a view of given source string and
set_encoding shouldn't change source encoding.
Similar change for binmode and set_encoding_by_bom.1 parent cb80e8d commit 7a4d09a
2 files changed
+1
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | 281 | | |
285 | 282 | | |
286 | 283 | | |
| |||
696 | 693 | | |
697 | 694 | | |
698 | 695 | | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | 696 | | |
703 | 697 | | |
704 | 698 | | |
| |||
1859 | 1853 | | |
1860 | 1854 | | |
1861 | 1855 | | |
1862 | | - | |
1863 | | - | |
1864 | | - | |
1865 | 1856 | | |
1866 | 1857 | | |
1867 | 1858 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
| 307 | + | |
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
| |||
0 commit comments