Reduced checks to common problems
Added Shift_JIS encoding
Introduced method to get encoding
Added further encoding tests