You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christian Mouttet (JIRA)" <ji...@codehaus.org> on 2007/12/14 15:22:57 UTC

[jira] Commented: (CONTINUUM-1602) UTF-8 characters imported from POM aren't properly stored/displayed

    [ http://jira.codehaus.org/browse/CONTINUUM-1602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_116814 ] 

Christian Mouttet commented on CONTINUUM-1602:
----------------------------------------------

I noticed that character encoding isn't handled correct by the whole application. If a caracter >7bit is filled in a text field (e. g. User Edit/Full Name) a question mark is saved instead of the original input to database (postgres in my case).

I tried this:
- going to "[Admin] Edit User"
- changing the character encoding in my Firefox bowser to UTF-8
- change Full Name (appending a non ASCII character e. g. 'รค')
- clicking "Update"

Result:
The List of Users shows exactly what I typed into the form.

If I don't change the character encoding (ISO-8859-1 is set by default) than the question mark will be shown.

Remark:
Our Continuum server is running on SLES-9 with UTF-8 encoding.

> UTF-8 characters imported from POM aren't properly stored/displayed
> -------------------------------------------------------------------
>
>                 Key: CONTINUUM-1602
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1602
>             Project: Continuum
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Linux (Fedora 8), locale UTF-8, Tomcat and Jetty, Firefox 2.0.0.10
>            Reporter: Marcin Zajaczkowski
>            Priority: Minor
>         Attachments: pom.xml
>
>
> UTF-8 characters in imported POM file (tested with adding Maven2 project) aren't properly stored (or at least displayed).
> How to reproduce:
> 1. Import attached POM.
> 2. Check developers for added project
> 3. There is '?' in developer name ("F?falski") instead of proper UTF-8 encoded Polish character '&#261;' ("F&#261;falski").
> Note:
> Character encoding for Continuum pages is setting by default to ISO-8859-1 (which could be changed to UTF-8), but already in page source there is '?' character (so maybe it's wrongly stored in a database? - here using default Derby).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira