• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Accents: working in development, not working in deployment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accents: working in development, not working in deployment


  • Subject: Re: Accents: working in development, not working in deployment
  • From: Dev WO <email@hidden>
  • Date: Wed, 27 Jul 2005 11:46:21 +0200

Hi François,
regarding things that are encoded inside .java files, you've got to change the encoding of these java files to Western (Mac OS Roman) instead of UTF-8. I don't know if it's a bug, but the UTF-8 encoding inside .strings files or Java files doesn't convert correctly.
NB: for .strings files you can use UTF-16 instead of Western. But UTF-16 won't work on .java files (it won't compile).


At least this should correct everything which is inside a .java (and .strings) file.
Then for what's inside the component, you've got to use different method, based on Hill/Mallais book (Practical WebObjects) on page 226 to 228. If I remember correctly the credit for the international part of the book goes to Pierre Frisch;)
If you do that you'll be able to enter accentuated characters directly inside the HTML source code.


I hope this help.

Xavier




    Hi guys,

I have a mind-boggling issue: my app extensively uses accented characters (ha, the joy of non-english languages....), and some strings are hard-coded in Java source files.
All my sources files are encoded as Unicode-UTF8, javac is configured properly ( ' JAVAC_SOURCE_FILE_ENCODING = UTF-8 ' both for development & deployment ), and my pages are generated with the file encoding properly set in the header.


In the development environment everything works well: all accented characters, whether they come from my java sources or from the .wo files, are displayed properly.
But in the deployment environnement accented chars from java files appear as garbage (but those from .wo file still look OK).


    Any idea on how to configure the deployment environment properly?

Best regards.

(I'm using WO 5.2.4 )
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40anazys.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Accents: working in development, not working in deployment (From: François Reboursier <email@hidden>)

  • Prev by Date: Re: Dynamic Image resizing for thumbnail view with correct Aspect...
  • Next by Date: Re: many-to-many with attributes?
  • Previous by thread: Accents: working in development, not working in deployment
  • Next by thread: Re: Accents: working in development, not working in deployment
  • Index(es):
    • Date
    • Thread