Console encoding