Set source encoding