[jbosstools-issues] [JBoss JIRA] (JBIDE-9937) SaveAs could not be completed due to issue with character encoding

Victor Rubezhny (Commented) (JIRA) jira-events at lists.jboss.org
Wed Nov 2 11:18:45 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-9937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639302#comment-12639302 ] 

Victor Rubezhny commented on JBIDE-9937:
----------------------------------------

Due to "meta content="text/html; charset=utf-8"" could be used the editor should ALWAYS save the pages using UTF-8 encoding. But this may rise a conflict with Window->Preferences->General->Workspace->Text File Encoding.

BTW, Vitaly, it's strange for me but, I have UTF-8 value is set for the preference mentioned above (but I'm using Ubuntu x64) and it seems to me that VPE (actually, Text editor) overrides this preference (or just not using it) by converting the text using ISO-8859-1 encoding while saving a file. What value is specified for this preference in your system?

Also, you may check the following preferences: 
Window->Preferences->Web->HTML Files->Creating Files: Encoding
Window->Preferences->Web->JSP Files->Creating Files: Encoding

It seams to me that VPE editor should use these preferences while saving files (not only when creating a new HTML/JSP file).
Alexey, WDYT?

                
> SaveAs could not be completed due to issue with character encoding
> ------------------------------------------------------------------
>
>                 Key: JBIDE-9937
>                 URL: https://issues.jboss.org/browse/JBIDE-9937
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: UpStream
>    Affects Versions: 3.3.0.M4
>            Reporter: Vitali Yemialyanchyk
>            Assignee: Victor Rubezhny
>             Fix For: 3.3.x
>
>         Attachments: example.zip, java-save.png, jspx.png, screenshot-1.jpg
>
>
> 1) open some jspx page in 1252 encoding
> 2) write something in Russian
> 3) try to save as new jspx page
> 4) see error dialog !screenshot-1.jpg|thumbnail!
> should propose to save in UTF

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list