added new cross_platform.h/cpp files for (mostly) UTF-8 endcoding functions...more to come probably, will likely need to split this up later