Fixed encoding issues in article upload/bnn sync.