added default encoding scheme