rewriting ...
update cppcommon for encoding.h/cpp