char encoding added