Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Portuguese characters don't display [INVALID]

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The portuguese characters entered in forum creation ou message creation don't display well. They just appear as "?" (mozilla).

Example: "aten��o"

BTW, we have translated the messages file to pt_pt and are trying to use JForum in a Java site (www.java.pt) that is going public tomorrow. :-)

Obrigado pelo bom trabalho!
[originally posted on jforum.net by ferdez]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hhmm.. on my machine all works fine ( and your example word is ok as well ). Could you please give some information about your machine, like OS, encoding etc etc??

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

ferdez wrote:BTW, we have translated the messages file to pt_pt and are trying to use JForum in a Java site (www.java.pt) that is going public tomorrow. :-)

Obrigado pelo bom trabalho!



WOW!!! Please let me know if I can help you guys!! Will be a pleasure!!!

Rafael


[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:hhmm.. on my machine all works fine ( and your example word is ok as well ). Could you please give some information about your machine, like OS, encoding etc etc??

Rafael



We are running jforum in a debian "testing", j2sdk 1.4.2, tomcat 4.1.30.

I noticed that in this site it works, with the same browser. The diference must be in the server. BTW, I notice you're running RC2.1, but We've downloaded from sourceforge and our footer says "RC 2 ?". Should we upgrade? If so are there any differences in the data model?


[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
am gonna to release RC3 until this weekend.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:am gonna to release RC3 until this weekend.

Rafael



Then we'll wait till then.

BTW the forum in our site is already online in http://www.java.pt/jforum
[originally posted on jforum.net by ferdez]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

ferdez wrote:

Rafael Steil wrote:am gonna to release RC3 until this weekend.

Rafael



Then we'll wait till then.

BTW the forum in our site is already online in http://www.java.pt/jforum



It's amazing to see you work being used

I will fix the avatar size problem, as some users may abuse of it.

On portuguese chars, I had this same problem. It was solved correcting the server locale, in my case.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:
I will fix the avatar size problem, as some users may abuse of it.


You noticed, eh? ;-)

Rafael Steil wrote:
On portuguese chars, I had this same problem. It was solved correcting the server locale, in my case.



Can you be more specific? Are you talking about the os, the tomcat server or something else? Can you point me to the config file+property that was changed?

TIA

Fernando
[originally posted on jforum.net by ferdez]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, in my case, a Slackware machine, I changed the environment variables named LANG and LOCALE .. locale I set to "pt_BR" and LANG to "pt_BR.ISO8859-1"..

As you are getting problem only with the messages, I guess the mysql encoding should be being affected.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It was, really, the LANG value. It had the dafault: "C". We had to generate our locale definition (in debian it's simply done by reconfiguring the locales package with "dpkg-reconfigure locales").

After changing the system default locale and making sure that the LANG environment variable was right, restarting tomcat was the final step.

Thanks!
[originally posted on jforum.net by ferdez]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic