handle UTF8 APPEND correctly

from Michael Slusarz.