• 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: Pound symbol
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pound symbol


  • Subject: Re: Pound symbol
  • From: "Ricardo J. Parada" <email@hidden>
  • Date: Thu, 19 Mar 2009 15:51:22 -0400


On Mar 19, 2009, at 3:16 PM, Chuck Hill wrote:


On Mar 19, 2009, at 11:59 AM, Ricardo J. Parada wrote:


Let me know if you figure it out because I have not been able to figure out this and I'm using Wonder on a small test project and have specified UTF-8 everywhere I can imagine. In my case however, it only happens when I build an embedded version of the app and run it.

By "embedded version of the app", do you mean with the frameworks embedded in the .woa bundle?

Yes... correct... the WebObjects 5.4.3 frameworks and Wonder frameworks (ERJars, ERExtensions, WOOgnl, Ajax) are all within MyWonderApp.woa/Contents/Frameworks



Are the strings in classes causing encoding problems only in the frameworks embedded in the .woa bundle? Do strings in classes in the application itself work OK?

Well... what I have tested so far is coming from a String constant in a .java file in the application (not a framework). So for example, I tested by putting the string in Main.java which ends up in MyWonderApp.woa/Contents/Resources/Java/mywonderapp.jar after the .woa bundle is built.


I'm not sure what happens if I put the string inside a .java file in one of my frameworks (which also are supposed to get embedded in the .woa).

Anyways, it's weird that the problem shows up ONLY when I run the .woa withe the frameworks embedded in it.


Chuck



Strings coming from String constants in the java file (as seems to be your case) do not display correctly. On the other hand, if the Strings come from the database through EO String properties, or text in the .html or text from binding values in the .wod file, then all characters are displayed correctly.





On Mar 19, 2009, at 2:41 PM, Gino Pacitti wrote:

Hi Chuck

Yes the Component is also set to UTF-8...

If I change the encoding to Latin-1 on the HTML page I see the pound symbol but with a L at a 90 degree clockwise before it..

Gino
On 19 Mar 2009, at 18:28, Chuck Hill wrote:


On Mar 19, 2009, at 9:30 AM, Gino Pacitti wrote:

Could anyone point me in the right direction ...

I have a WOPOP UP menu item

list = NSArray with entries that have £ symbols as part of the contents

NSArray list = new NSArray(new Object[] { "Some string with a £10000 value in it"})

The item is bound to a string...

The HTML page as encoding set to UTF-8 yet the pop up menu item displays triangles with ? marks where the £ symbols should be....

What am i doing wrong....

Thanks in advance

Is the encoding of the class file UTF-8 too?

Chuck


-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects








----------------------------------------------------- Gino L. Pacitti Base Enterprise UK Email: email@hidden Phone: sales: 0845 094 9784 Mob: 07980 851 953 World Wide Phone: 02032391945 (local rate charge to wherever we are located in the world)

Aol: kris121
Msn: email@hidden
Skype: ginkris
Mac.com: email@hidden

http://www.base-enterprise.co.uk

mail: Base Enterprise
PO BOX 674
East Grinstead
West Sussex
RH19 3ZG

Base Enterprise LTD
Company Number 04339224
Registered in England & Wales

Registered Member of the UK Web Design Association.
Accredited by Business Link and a member of the FSB.

Web Design, coding and information architect
Java, Web Objects and Database Developer
HTML, XML, Javascript and WAP technologies.
-----------------------------------------------------

This email and any attachments is confidential and may be legally
privileged and protected from disclosure. It is intended solely for
the use of the individual or entity to whom it is addressed and
others authorized to receive it.

If you are not the intended recipient of this e-mail of any parts of
it please telephone +44 845 094 9784 immediately upon receipt
or contact email@hidden

No other person is authorized to copy, forward or disclose,
distribute or retain this e-mail in any form.

_______________________________________________
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

_______________________________________________ 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


-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects








_______________________________________________ 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: 
 >Pound symbol (From: Gino Pacitti <email@hidden>)
 >Re: Pound symbol (From: Chuck Hill <email@hidden>)
 >Re: Pound symbol (From: Gino Pacitti <email@hidden>)
 >Re: Pound symbol (From: "Ricardo J. Parada" <email@hidden>)
 >Re: Pound symbol (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Pound symbol
  • Next by Date: Re: Pound symbol
  • Previous by thread: Re: Pound symbol
  • Next by thread: Pound Symbol
  • Index(es):
    • Date
    • Thread