Sorry for the belated response; thanks for the help. Charset converting the XML files seems to work! Thanks again.
On Sep 9, 3:18 pm, Felix Engel <[email protected]> wrote: > Good morning, > > On Tue, Sep 08, 2009 at 10:54:28PM -0700, Snallygaster wrote: > > I found this thread: <https://answers.launchpad.net/mnemosyne-proj/ > > +question/59129> which has an almost identical error message, and I > > assume the problem is with the character encoding. The databases > > contain Japanese, and I know the Palm databases use shift-JIS > > encoding; I tried changing the "encoding="us-ascii"" in the first line > > of the XML to "encoding="shift_jis"" but to no avail. > > this is almost certainly the same problem. So changing the charset was > the right idea. > The last line of your error message:> SAXParseException:<unknown>:1:30: > unknown encoding > > tells you that the error is on line 1, column 30 of the input file. So in > essence it says that the encoding "shift_jis" is not known to the > parser. I see two options > a) Find out the correct string to put into the encoding field for > shift_jis files > b) The option I would prefer is to load the xml file to an editor that > supports charset conversion, convert it to utf-8 and then import the > utf-8 encoded xml with encoding="utf-8". > > An editor that is said to support this pretty comfortably is notepad++. > Another option is a command line tool called "iconv". > > I hope this helps. > > Regards, > Felix --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mnemosyne-proj-users?hl=en -~----------~----~----~----~------~----~------~--~---
