Make cleanup of encodings, moving webpac closer to having internal utf-8 representation. This will break current code, but is really neceserry step toward checking input encoding for validity