terrorchid wrote
DW uses a UTF-8 charset, and protects the output via htmlspecialchars where necessary.
The strings are encoded with htmlspecialchars(data) without the optional charset parameter,
this defaults to ISO-8859-1 in PHP.
Since the few chars this function escapes (<> and quotes) are all within the ASCII-7 range it shouldn't matter.
terrorchid wrote
Suggestion: replace all occurences of htmlspecialchars(data) with
htmlspecialchars(data, ENT_QUOTES, 'UTF-8')
Might still make sense just for correctness.