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

Bug 439287

Summary: Error saving file if filename contains Turkish character on IE10
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ServerAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 6.0   
Target Milestone: 7.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2014-07-09 15:51:05 EDT
Using IE10

1. Create a new file named: รง
2. Edit the file and press Ctrl + S

You get an error popup.

The file does get saved, but it seems the new metadata is not fetched (?) so sometimes you see spurious "File is out of sync with the server" errors.
Comment 1 Mark Macdonald CLA 2014-07-09 18:26:38 EDT
The server response to a diff-save was wrong. It didn't set a Content-Type header, so browsers had to guess at the encoding. It also relied on HttpServletResponse.getWriter() without calling any of the other encoding-setting methods, meaning that ISO-8859-1 was being sent instead of UTF-8 (= bad).

Other browsers managed to decode the mystery response, but IE was not as lucky.

Fixed and added a test for diff-save.

http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=a88b418