Hi Martin,

As Mark said, there is something wrong with the text in the mailing list.
I changed the encoding because my laptop (default encoding as UTF-8) complains 
with the following error when compiling this class:

Error:(148, 31) java: unmappable character (0xA3) for encoding UTF-8

------------------------------------------------------------------
Mark Thomas <ma...@apache.org>
2017 Nov 28 (Tue) 22:16
Tomcat Developers List <dev@tomcat.apache.org>
Re: svn commit: r1816544 - 
/tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java


On 28/11/17 14:04, Martin Grigorov wrote:
> On Tue, Nov 28, 2017 at 3:52 PM, <hux...@apache.org> wrote:
> 
>> Author: huxing
>> Date: Tue Nov 28 13:52:58 2017
>> New Revision: 1816544
>>
>> URL: http://svn.apache.org/viewvc?rev=1816544&view=rev
>> Log:
>> Change file encoding to UTF-8
>>
>> Modified:
>>     tomcat/trunk/test/org/apache/tomcat/websocket/
>> TestWebSocketFrameClient.java
>>
>> Modified: tomcat/trunk/test/org/apache/tomcat/websocket/
>> TestWebSocketFrameClient.java
>> URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/
>> tomcat/websocket/TestWebSocketFrameClient.java?rev=1816544&r1=1816543&r2=
>> 1816544&view=diff
>> ============================================================
>> ==================
>> --- 
>> tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
>> (original)
>> +++ 
>> tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
>> Tue Nov 28 13:52:58 2017
>> @@ -145,7 +145,7 @@ public class TestWebSocketFrameClient ex
>>          SecurityCollection collection = new SecurityCollection();
>>          collection.addPatternDecoded("/");
>>          String utf8User = "test";
>> -        String utf8Pass = "123£";
>> +        String utf8Pass = "123£";
>>
> 
> The old value looked better.

It looks OK on my (UTF-8 by default) system. From memory something in
the svn diff -> mailing list process mangles UTF-8 text.

Mark


> 
> 
>>
>>          tomcat.addUser(utf8User, utf8Pass);
>>          tomcat.addRole(utf8User, ROLE);
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: dev-h...@tomcat.apache.org
>>
>>
> 


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

Reply via email to