Thread: [Feedreader-development] Problem
Brought to you by:
toomastoots
From: Marcus H. <ma...@he...> - 2003-02-10 14:25:49
|
The current developement version of FeedReader uses only the OpenXML = XDOM-Parser. This parser is stricter than the ICXML-parser that was used before.=20 This results in the situation, that some XML-files can't be parsed, i.e. = loaded and used. This applies for example to the german-translation file where "umlaut U" = and other=20 german specific characters are used that are not properly encoded = according to the procssing instruction at the beginning of the file. The file says that = it's UTF-8 where in reality it's "Windows 12xx". This applies also to the headlines.xml and other files. What do you think is the best and easiest way to fix it? But, please remember this code is used only once for older = installations, where these files already exist, and only for the first time the new = .EXE is started. Marcus |
From: Toomas T. <to...@i-...> - 2003-02-11 21:54:35
|
Marcus Hettlage wrote: > The current developement version of FeedReader uses only the OpenXML > XDOM-Parser. > This parser is stricter than the ICXML-parser that was used before. > This results in the situation, that some XML-files can't be parsed, > i.e. loaded and used. > This applies for example to the german-translation file where "umlaut > U" and other > german specific characters are used that are not properly encoded > according to the > procssing instruction at the beginning of the file. The file says that > it's UTF-8 > where in reality it's "Windows 12xx". This is not problem at all. Users download files from www.feedreader.com and downloading is being managed by php script where at the moment is print "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n..... It's quite easy for me to change this. Only problem is that i do not know right encodings. I can put diferent encoding for every translation file, if somebody gives me right encodings. > This applies also to the headlines.xml and other files. > What do you think is the best and easiest way to fix it? What do you think is the right encoding for headlines,*.xml files? One possibility is to check for parsing error and if parsing error occures, then manually do string replace on xml stream? From utf-8 to something new so that xml parser will not complain? Can you tell me, what kind of encoding is utf-8? What are right and what are not right characters for this encoding. And if somebody has japanese characters and german characters at the same time, what kind of encoding is this? > But, please remember this code is used only once for older installations, > where these files already exist, and only for the first time the new .EXE > is started. > > Marcus Greetings Toomas |
From: Toomas T. <to...@i-...> - 2003-02-12 07:59:56
|
Hi! There is one more annoying thing I could not get rid of. If there are some new headlines and "new headline notification" window pops up in the right lower corner of desktop this form is visible on taskbar, too. It should not be there. I tried and tried but could not get popups showing without this taskbar presentation. Greetings Toomas |
From: Marcus H. <mar...@ep...> - 2003-02-12 08:02:17
|
> Hi! > > There is one more annoying thing I could not get rid of. > > If there are some new headlines and "new headline notification" window > pops up in the right lower corner of desktop this form is visible on > taskbar, too. It should not be there. I tried and tried but could not > get popups showing without this taskbar presentation. > I'll keep an eye on it. Marcus |
From: Marcus H. <mar...@ep...> - 2003-02-12 08:07:56
|
----- Original Message ----- From: "Toomas Toots" <to...@i-...> To: "Feedreader Development" <fee...@li...> Sent: Tuesday, February 11, 2003 10:54 PM Subject: Re: [Feedreader-development] Problem > Marcus Hettlage wrote: > > > The current developement version of FeedReader uses only the OpenXML > > XDOM-Parser. > > This parser is stricter than the ICXML-parser that was used before. > > This results in the situation, that some XML-files can't be parsed, > > i.e. loaded and used. > > This applies for example to the german-translation file where "umlaut > > U" and other > > german specific characters are used that are not properly encoded > > according to the > > procssing instruction at the beginning of the file. The file says that > > it's UTF-8 > > where in reality it's "Windows 12xx". > > This is not problem at all. Users download files from www.feedreader.com > and downloading is being managed by php script where at the moment is > print "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n..... It's quite easy > for me to change this. Only problem is that i do not know right > encodings. I can put diferent encoding for every translation file, if > somebody gives me right encodings. This should not be too hard to find out. I'll check them and tell you what encoding we need. > > > This applies also to the headlines.xml and other files. > > What do you think is the best and easiest way to fix it? > > What do you think is the right encoding for headlines,*.xml files? One > possibility is to check for parsing error and if parsing error occures, > then manually do string replace on xml stream? From utf-8 to something > new so that xml parser will not complain? That is the same solution I'd come up with. I think I'll do it that way. > > Can you tell me, what kind of encoding is utf-8? What are right and what > are not right characters for this encoding. And if somebody has japanese > characters and german characters at the same time, what kind of encoding > is this? have a look at http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc2279.html Greetings Marcus |