BUG: in DecodeSTR the last character was not decoded correctly.