method

change_encoding

change_encoding(text, encoding)
public

Changes encoding based on encoding without converting and returns new string