[
http://jira.jboss.com/jira/browse/JBPORTAL-1727?page=comments#action_1237... ]
Thomas Heute commented on JBPORTAL-1727:
----------------------------------------
First are you sure it's a bug ?
How do you store your content ? FileSystem or database ?
If so which database ? and is it configured properly for correct encoding ?
This particular issue has been fixed already, so your environment is probably different.
CLONE -CMS saves pages in native encoding (ISO-8859-1 or Cp1251) but
retrieve it in UTF-8. then national leters are damaged
---------------------------------------------------------------------------------------------------------------------------
Key: JBPORTAL-1727
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-1727
Project: JBoss Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Portal CMS
Affects Versions: 2.6.1 Final
Environment: jboss4.2 (bundled version) and 4.0.5.GA
Reporter: Mariusz Smykula
Assigned To: Sohil Shah
When I input ru-characters in the text area it has been puted into table in native
encoding (cp1251) - !!! not UTF-8. But pages are sends in UTF-8, and it damaged.
I think that I have to encode the request in UTF-8 ???
---------------------------------------------
create file.html in Ru (in cms admin) with this text
abc???
then look at the last record of JBP_CMS_VERSION_BINVAL
(six bytes in BINVAL_DATA field):
61 62 63 e0 e1 e2
it is cp1251 encoding !!!!
why this text non unicoded ???
then when i retrive it i have - 'abc???'
I think that problem isn't in ContentTypeInterceptor because it succefully
sets UTF8, because localized resources seems right (in russian).
may be it is need to store text in CLobs insdead blobs ??? (a use Derby) or customize
Jackrabbit ???
-----------------------------------------------------------
but when I upload file on UTF-8 with russian characters - all correct.
I think that cms saves the content in one byte encoding (cp1250 or same).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira