[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
Thu Nov 3 07:29:45 EDT 2011


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

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

"I've set "UTF-8 encoding" for both cases - then I've try to open example.jspx - VPE does not display UTF-8 symbols"

After you have changed the editor encoding to UTF-8, your example.jspx is still non-UTF-8 encoded. So, when you opened it within editor it could be shown improperly because of this difference in editor and file encodings.

But after you'll press Save (not Save as, but save) the file should be saved in UTF-8 (as editor's preferences force) and you have not to see "jspx.png dialog" like I do now. (But editor content must be changed somehow due to enable Save operation).

After your file is saved in UTF-8 you may copy/paste any UTF-8 encoded characters and editor should show/save/open them with no problems.

But "Save As" will behave still as you described in this issue.

                
> 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: Feature Request
>          Components: jsp/jsf/xml source editing, UpStream
>    Affects Versions: 3.3.0.M4
>            Reporter: Vitali Yemialyanchyk
>            Assignee: Victor Rubezhny
>            Priority: Minor
>             Fix For: LATER
>
>         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