Re: DTD problem with MrProject

Richard Hult wrote:
tor 2003-11-13 klockan 00.04 skrev Christian E. Kaas:
It works if I extend the xml tag
<?xml version ="1.0" encoding="ISO-8859-1"?>

You should use encoding="UTF-8" since that's the encoding of the files.

Why is that needed?
Per, the encoding attribute is optional. also says:
"[...] it is also a fatal error if an XML entity contains no encoding declaration and its content is not legal UTF-8 or UTF-16."
Hence, UTF-8 xml files should not need an encoding declaration.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]