add encoding option
set encoding before parsing for ceylon/ceylon.language#323