correct the method name for correct char encoding