Fix _ARC_DEBUG variable name.
detect input encoding
Set version 0.0.6