Address #282, encode unicode content prior to publishing