Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 393229

Summary: Transmission of special characters like Umlaute
Product: [RT] RAP Reporter: Sebastian von Klinski <sebastian.vonklinski>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1    
Version: 2.0   
Target Milestone: 2.0 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Snippet to reproduce it none

Description Sebastian von Klinski CLA 2012-10-31 08:40:13 EDT
In RAP 2.0 special characters like Umlaute (ä,ö,ü, etc.) are not transmitted correctly. A word like König is transmitted as König. I guess that this is again an encoding problem, as it has previously occured in RAP 1.3/1.4.

I am using org.eclipse.rap.rwt_2.0.0.20121001-1623.
Comment 1 Ivan Furnadjiev CLA 2012-10-31 09:08:22 EDT
Change priority to P1 as this is a regression.
Comment 2 Ralf Sternberg CLA 2012-10-31 09:17:10 EDT
I don't see any encoding issues. Can you reproduce it, Ivan?
Comment 3 Ivan Furnadjiev CLA 2012-10-31 09:25:31 EDT
Created attachment 223040 [details]
Snippet to reproduce it

Yes. I can. The "source" text field contains cyrilic characters. Add some more text to it and hit copy button. The text into the "target" text field contains garbage.
Comment 4 Ivan Furnadjiev CLA 2012-10-31 09:30:37 EDT
The problem is in the ProtocolUtil#getClientMessage where the request input stream is read without encoding.
Comment 5 Ivan Furnadjiev CLA 2012-10-31 09:34:57 EDT
Fixed with commit cf0f49f428749b4ed0d9e82ff802246746311074.