Article View: borland.public.delphi.commandlinetools
Article #291Re: D2005: How to alter .bdsproj files?
From: Rob Kennedy
Date: Wed, 23 Feb 2005 18:43
Date: Wed, 23 Feb 2005 18:43
18 lines
1826 bytes
1826 bytes
Stephan wrote: > does anybody know how to alter Delphi 2005 .bdsproj Files > non-interactively? > > I've tried Perl's XML::Simple, I managed to read the file, but after > writing it, Delphi doesn't recognize it any longer. It might have to do > with some "magic bytes" in the first line of the .bdsproj file, or a > particular type of formatting. The "magic bytes" are the UTF-8 byte-order mark. When you find those three bytes at the start of a file, it means that the entire file (including those three bytes) is encoded as UTF-8. That's backed up by the "encoding" attribute on the <?xml?> processing instruction. In what way have you changed the file? -- Rob
Technical Details
Message-ID:
<421ccebc@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<421c911a$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,17104ed31a20cdf4 X-Google-Attributes: gidff8f1,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 23 Feb 2005 12:43:08 -0600 From: Rob Kennedy <.> Organization: none User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.delphi.commandlinetools Subject: Re: D2005: How to alter .bdsproj files? References: <421c911a$1@newsgroups.borland.com> In-Reply-To: <421c911a$1@newsgroups.borland.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 169.207.95.65 Message-ID: <421ccebc@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1109184188 169.207.95.65 (23 Feb 2005 10:43:08 -0800) Lines: 18 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail