Re: [fpc-devel] Damaged .ppu problem
15.01.2010 10:50, Florian Klaempfl: What's the point of being so carefull about unreadable PPUs? Simply because it means that something really strange happened. Maybe it is only a wrong compiler version but it could be also a corrupted file system and then starting to delete files is really bad. Hmm. I'd suppose pressing ctrl-C during compilation is not so strange and way more common than corrupted filesystems. And fpc is probably not an fschk replacement anyway :) Ok, maybe some command-line option could be usefull to explicitely allow such PPU overwriting? Nikolai ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Damaged .ppu problem
On Fri, 15 Jan 2010, Nikolai Zhubr wrote: 15.01.2010 10:50, Florian Klaempfl: What's the point of being so carefull about unreadable PPUs? Simply because it means that something really strange happened. Maybe it is only a wrong compiler version but it could be also a corrupted file system and then starting to delete files is really bad. Hmm. I'd suppose pressing ctrl-C during compilation is not so strange and way more common than corrupted filesystems. And fpc is probably not an fschk replacement anyway :) Ok, maybe some command-line option could be usefull to explicitely allow such PPU overwriting? -B should do that. Michael. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
[fpc-devel] New issue in fcl-xml
When the XML file includes accented characters, an "Invalid character in input stream" exception is raised. Is this correct?, how should I include accented chars in an XML file?. Leonardo M. Ramé http://leonardorame.blogspot.com ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] New issue in fcl-xml
Sorry, I found it now checks the encoding of the XML file. To accept spanish accented chars, I had to include and it worked ok. Leonardo M. Ramé http://leonardorame.blogspot.com --- On Fri, 1/15/10, Leonardo M. Ramé wrote: > From: Leonardo M. Ramé > Subject: [fpc-devel] New issue in fcl-xml > To: "FPC developers' list" > Date: Friday, January 15, 2010, 12:47 PM > When the XML file includes accented > characters, an "Invalid character in input stream" exception > is raised. Is this correct?, how should I include accented > chars in an XML file?. > > > Leonardo M. Ramé > http://leonardorame.blogspot.com > > > > > ___ > fpc-devel maillist - fpc-devel@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-devel > ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] New issue in fcl-xml
Leonardo M. Ramé wrote: Sorry, I found it now checks the encoding of the XML file. To accept spanish accented chars, I had to include and it worked ok. The iso-8859-1, utf-8 and utf-16 are the only encodings handled 'natively' (by the XMLRead unit). Any encoding not from this list must be handled by an external decoder. Should you ever face this, refer to http://wiki.freepascal.org/XML_Decoders for details. Sergei ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Damaged .ppu problem
15.01.2010 14:12, Michael Van Canneyt: Ok, maybe some command-line option could be usefull to explicitely allow such PPU overwriting? -B should do that. It does not actually, I've just checked. If I explicitely ask to compile the unit for which a damaged PPU file does exist then no problem - it compiles and replaces damaged PPU with a new one. However, in case of automatic recompilation of any file other than specified as an argument, compiler refuses to overwrite, and "-B" does not seem to help. This is not a major issue, no. It is just somewhat unlogical, imho. Nikolai Michael. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel