To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=83194
------- Additional comments from [EMAIL PROTECTED] Fri Nov 2 17:20:05 +0000 2007 ------- That's not enough. The code to load a document must work without user interaction also, so there *must* be a default treatment of such documents. This default could be: - throw an exception, quit loading (very rude IMHO) - guess encoding from system locale of machine loading the document - ??? something else In case of HTML using the system locale is more questionable than in case of rtf documents as HTML documents often come from the web and making any assumptions about the system they were created on is just wild guessing. OK, you can assume that because most computers run Windows and so most HTML documents will have been created on Windows. You can further assume that the number of clueless people not knowing that HTML documents should specify an encoding is even bigger on Windows so that overall it's a good guess that a broken HTML file has been created on a Windows machine. But is that how you want to design your software? At least debatable, IMHO. But OTOH: I have no better idea. As Michael pointed out, the official recommendation is not to assume any defaults. This recommendation explicitly argues with a Web base scenario and there it sounds reasonable. OTOH if we are talking about local HTML documents, especially documents created from somewhat broken tools, guessing an encoding IMHO makes sense. So I think we can treat HTML documents more or less the same way as rtf documents as in issue 68639. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
