simplified string casters, removed wide char support (inconsistent across platforms, better to use utf8 in any case..)