Correct the locale encoder for empty input #32
Merge branch 'encoder'