A user's language is obscene. What should I do?
[JBoss Portal] - UTF-8 problem with Portal 2.2.1 (from CVS) and portlet
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Java Programming > [JBoss Portal] - UTF-8 problem with Portal 2.2.1 (from CVS) and portlet 7 March 2006 19:19:33

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

[JBoss Portal] - UTF-8 problem with Portal 2.2.1 (from CVS) and portlet

Szimano 7 March 2006 19:19:33
 Hello,

We have moved labs from Portal 2.0 to portal 2.2.1 (from CVS), and i have a problem with utf-8 coding in portlet (JBoss Wiki).

In 2.0 when i used to save wiki pages with utf-8 characters, they were converted to \u[blahblah] and everything was working perfectly fine.

Now Portal's encoding is recognised as UTF-8 and when i submit a save-form, special characters do not convert to \u[something] and pages are stored on hardrive with utf-encoding.

The problem is:
When i show the page with servlet (accesing some methods from service) i get UTF-8 characters showing perfectly fine... but when i show the page in portlet (using the same method - so getting the same string) - it shows, as far as i recognise, iso-8859-1, while in the same time clicking right button -> Page Info shows UTF-8 as page encoding.

Maybe someone has encountered similar problems ?

Thanks for help,
Tomek Szymanski

View the original post : http://www.jboss.co­m/index.html?module=­bb&op=viewtopic&p=39­28502#3928502

Reply to the post : http://www.jboss.co­m/index.html?module=­bb&op=posting&mode=r­eply&p=3928502


-------------------­--------------------­----------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.fa­lkag.net/sel?cmd=lnk­&kid=110944&bid=2417­20&dat=121642
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Java Programming > [JBoss Portal] - UTF-8 problem with Portal 2.2.1 (from CVS) and portlet 7 March 2006 19:19:33

see also:
problems with a for-loop
result of regexps into a string
hash/multiply-divide
пройди тесты:
see also:
How to strip DRM off iTunes M4P music…
How to transfer iTunes M4P music to…
How to import iTunes M4P music to…

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .