Revert "Fixed #2388: String#b improperly updates encoding of source string."

This reverts commit 4e4073299cd2199116e8396f6984d7ace0063cf9.