You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2009/05/04 16:10:16 UTC

DO NOT REPLY [Bug 47149] New: Build fail (encoding error)on Chinese version Windows XP OS

https://issues.apache.org/bugzilla/show_bug.cgi?id=47149

           Summary: Build fail (encoding error)on Chinese version Windows
                    XP OS
           Product: Tomcat 6
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Keywords: PatchAvailable
          Severity: minor
          Priority: P2
         Component: Documentation
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: xxd82329@gmail.com


When I build tomcat 6.0 trunk on my Chinese version Windows XP OS, I got an
encoding error. So I'd like add <compilerarg line="-encoding UTF-8 "/> into all
the <javac></javac> nodes in build.xml and dist.xml. Since I could only upload
one file each time, I only upload revised version of build.xml. 

This is my first time to issue a bugzilla entry, sorry for the non-standard
format.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 47149] Build fail (encoding error)on Chinese version Windows XP OS

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47149





--- Comment #6 from Konstantin Kolinko <kn...@gmail.com>  2009-06-05 15:00:11 PST ---
One correction: There is an easier way: use encoding="ISO-8859-1" attribute on
the javac task. I see no need for the explicit <compilerarg>.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 47149] Build fail (encoding error)on Chinese version Windows XP OS

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47149


Xie Xiaodong <xx...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
         AssignedTo|dev@tomcat.apache.org       |xxd82329@gmail.com




--- Comment #1 from Xie Xiaodong <xx...@gmail.com>  2009-05-04 07:13:26 PST ---
Created an attachment (id=23606)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23606)
This is revised version of build.xml

This is revised version of build.xml

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 47149] Build fail (encoding error)on Chinese version Windows XP OS

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47149


Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #10 from Konstantin Kolinko <kn...@gmail.com>  2009-07-09 15:29:20 PST ---
Fixed in 5.5, 6.0. Will be in 5.5.28, 6.0.21 onwards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 47149] Build fail (encoding error)on Chinese version Windows XP OS

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47149





--- Comment #4 from Mark Thomas <ma...@apache.org>  2009-06-05 14:13:49 PST ---
Ignore my last comment. This isn't fixed in trunk yet.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: DO NOT REPLY [Bug 47149] Build fail (encoding error)on Chinese version Windows XP OS

Posted by Xie Xiaodong <xx...@gmail.com>.
Sorry about that. Thank you for the resetting. :)

2009/5/17 <bu...@apache.org>

> https://issues.apache.org/bugzilla/show_bug.cgi?id=47149
>
>
> Konstantin Kolinko <kn...@gmail.com> changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>         AssignedTo|xxd82329@gmail.com          |dev@tomcat.apache.org
>
>
>
>
> --- Comment #2 from Konstantin Kolinko <kn...@gmail.com>
>  2009-05-17 06:50:07 PST ---
> You should not change 'Assigned To' field of a bug. Because of that the bug
> update notifications aren't coming to the dev@ mailing list.
>
> I am resetting it to the default value.
>
> --
> Configure bugmail:
> https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are the assignee for the bug.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>


-- 
Sincerely yours and Best Regards,
Xie Xiaodong

DO NOT REPLY [Bug 47149] Build fail (encoding error)on Chinese version Windows XP OS

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47149


Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|xxd82329@gmail.com          |dev@tomcat.apache.org




--- Comment #2 from Konstantin Kolinko <kn...@gmail.com>  2009-05-17 06:50:07 PST ---
You should not change 'Assigned To' field of a bug. Because of that the bug
update notifications aren't coming to the dev@ mailing list.

I am resetting it to the default value.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 47149] Build fail (encoding error)on Chinese version Windows XP OS

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47149





--- Comment #8 from Xie Xiaodong <xx...@gmail.com>  2009-06-05 15:52:16 PST ---
Just add encoding="ISO-8859-1" at the end of all javac element.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 47149] Build fail (encoding error)on Chinese version Windows XP OS

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47149





--- Comment #3 from Mark Thomas <ma...@apache.org>  2009-05-25 04:03:42 PST ---
Fixed in trunk and proposed for 6.0.x

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 47149] Build fail (encoding error)on Chinese version Windows XP OS

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47149





--- Comment #9 from Konstantin Kolinko <kn...@gmail.com>  2009-07-04 09:40:00 PST ---
Fixed in trunk, proposed for 6.0, 5.5.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 47149] Build fail (encoding error)on Chinese version Windows XP OS

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47149





--- Comment #7 from Xie Xiaodong <xx...@gmail.com>  2009-06-05 15:51:22 PST ---
The patch proposed by Konstantin Kolinko works fine for me. I think we could
close this issue.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 47149] Build fail (encoding error)on Chinese version Windows XP OS

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47149





--- Comment #5 from Mark Thomas <ma...@apache.org>  2009-06-05 14:21:29 PST ---
Created an attachment (id=23765)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23765)
Proposed patch using ISO-8859-1

The source files aren't UTF-8 encoded. They are ISO-8859-1.

Whilst I can get a Chinese copy of XP, I doubt I;d be able to use it. Could you
test the attached patch and see if it works for you? If it does, I'll modify
the other build scripts in the same way, apply the patch to trunk and propose
it for 6.0.x

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org