Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 7160 invoked from network); 7 Oct 2003 22:50:27 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 7 Oct 2003 22:50:27 -0000 Received: (qmail 26226 invoked by uid 500); 7 Oct 2003 22:50:10 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 26185 invoked by uid 500); 7 Oct 2003 22:50:10 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 26171 invoked from network); 7 Oct 2003 22:50:10 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 7 Oct 2003 22:50:10 -0000 Received: (qmail 3105 invoked by uid 50); 7 Oct 2003 22:53:19 -0000 Date: 7 Oct 2003 22:53:19 -0000 Message-ID: <20031007225319.3104.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 23647] - when build fails due to character-encoding problems, no linenumber is given X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23647 when build fails due to character-encoding problems, no linenumber is given ------- Additional Comments From wagner.stefan@berlin.de 2003-10-07 22:53 ------- Thanks for replying that fast. (4 Instances in 10 hours). I received this answer: --- answer--- There is no possibility to reliably report a line number in case of a problem with the encoding. After all, the bytes mapped onto LF may be in error too. --- eoa --- This sounds reasonable. But I encountered this error sometimes, and everytime it occured, other linenumbers were accurat. Differences between MAC-OS, LINUX and WinDos would lead to following possibilities: A calculated linenumber of 20 could mean the error is in line 20, in line 10 or in line 40. If I get a wrong linenumber, I could force an error, and find out the relationship between mentioned line number and real line number. But probably the linenumber is correct. So a linenumber which is accurat most of the times and only in very few times wrong would be more helpful, than no linenumber, which forces me to guess. On the other side: Perhaps I will not run into the user-error of wrong encoding again, after finding out, that I have to specify 'iso-8859-1' encoding. Let other users search their files by guessing too. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org