fix unicode issues. Add publish capability