Re: [flexcoders] Euro symbol encoding

2007-09-20 Thread Paul Hastings
Giro wrote:
 If I write a € (Euro symbol) on my Flex application no problem, but when 
 i retrieve information using a httpservice and place this on DataGrid 
 but Euro symbol appear as square.

what encoding is the webservice using? the euro's not in iso-8859-1 (latin-1) 
so 
you're better off using utf-8 all the time.

in any case a square means the char can't be rendered using the current font.


RE: [flexcoders] Euro symbol

2005-04-04 Thread Dane, Sid
---BeginMessage---
Hi,

You can just type it (using an editor which supports the symbol, like 
FlexBuilder does) or use HTML text.

S!d


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Mon 04/04/2005 14:44
To: Flex Coders
Subject: [flexcoders] Euro symbol
 

Sorry stupid question, maybe it's already post but i don't find.
How i can display in my label the ? symbol, sorry if it's already post.
Devis




 
Yahoo! Groups Links



 




winmail.dat---End Message---
This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


RE: [flexcoders] Euro symbol

2005-04-04 Thread Anthony Merryfield

Have you tried ctrl + alt + 4 to insert the symbol?

Alternatively try the euro; code.

mx:Label styleName=price 
text=Totale:euro;{price.format(shoppingCart.total)}/

T

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 04 April 2005 16:19
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Euro symbol



Sorry i'm using copy and paste but flex throws this
mx:Label styleName=price 
text=Totale:¤{price.format(shoppingCart.total)}/

2 Errors found.
 
Error C:\jakarta-tomcat-5.5.7\webapps\samples\test\CartView.mxml
Error parsing MXML document: encoding is specified as UTF-8 but the file 
is not UTF-8 encoded.


Error C:\jakarta-tomcat-5.5.7\webapps\samples\test\blank.mxml:168 Don't 
know how to parse element *:CartView. It is not a known type or a 
property of mx.containers.HBox.


Anthony Merryfield ha scritto:

Just type it as you would any other character... Or copy and paste it if your 
keyboard is ye olde.

Tony.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 04 April 2005 13:45
To: Flex Coders
Subject: [flexcoders] Euro symbol



Sorry stupid question, maybe it's already post but i don't find.
How i can display in my label the ¤ symbol, sorry if it's already post.
Devis




 
Yahoo! Groups Links



 





This communication together with any attachments transmitted with it (this 
E-Mail) is intended only for the use of the addressee and may contain 
information which is privileged and confidential.  If the reader of this 
E-Mail is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient you are hereby notified that any use, 
dissemination, forwarding, printing or copying of this E-Mail is strictly 
prohibited.  Addressees should check this E-mail for viruses.  The Company 
makes no representations as regards the absence of viruses in this E-Mail.  If 
you have received this E-Mail in error please notify our ISe Response Team 
immediately by telephone on +44 (0)20 8896 5828 or via e-mail at [EMAIL 
PROTECTED]  Please then immediately delete, erase or otherwise destroy this 
E-Mail and any copies of it.

Any opinions expressed in this E-Mail are those of the author and do not 
necessarily constitute the views of the Company.  Nothing in this E-Mail shall 
bind the Company in any contract or obligation.

For the purposes of this E-Mail the Company means The Carphone Warehouse 
Group Plc and/or any of its subsidiaries.

Please feel free to visit our website:  http:// www.carphonewarehouse.com or 
http://www.phonehouse.com

The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1 Portal 
Way, London W3 6RS



 
Yahoo! Groups Links



 


  





 
Yahoo! Groups Links



 





This communication together with any attachments transmitted with it (this 
E-Mail) is intended only for the use of the addressee and may contain 
information which is privileged and confidential.  If the reader of this E-Mail 
is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient you are hereby notified that any use, 
dissemination, forwarding, printing or copying of this E-Mail is strictly 
prohibited.  Addressees should check this E-mail for viruses.  The Company 
makes no representations as regards the absence of viruses in this E-Mail.  If 
you have received this E-Mail in error please notify our IT Service Desk 
immediately by e-mail at [EMAIL PROTECTED]  Please then immediately delete, 
erase or otherwise destroy this E-Mail and any copies of it.

Any opinions expressed in this E-Mail are those of the author and do not 
necessarily constitute the views of the Company.  Nothing in this E-Mail shall 
bind the Company in any contract or obligation.

For the purposes of this E-Mail the Company means The Carphone Warehouse 
Group Plc and/or any of its subsidiaries.

Please feel free to visit our website:  http:// www.carphonewarehouse.com or 
http://www.phonehouse.com

The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1 Portal 
Way, London W3 6RS



 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Euro symbol

2005-04-04 Thread Abdul Qabiz

You can save your file with UTF encoding. It should work.

Not sure, which Text editor you use. But you can do it with Notepad. Open
your mxml file in NotePad, then Save As, notice in Save As dialog, there
Encoding combobox. Select UTF-8 from it and save your file.

-abdul



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 04, 2005 8:49 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Euro symbol


Sorry i'm using copy and paste but flex throws this
mx:Label styleName=price 
text=Totale:{price.format(shoppingCart.total)}/

2 Errors found.
 
Error C:\jakarta-tomcat-5.5.7\webapps\samples\test\CartView.mxml
Error parsing MXML document: encoding is specified as UTF-8 but the file 
is not UTF-8 encoded.


Error C:\jakarta-tomcat-5.5.7\webapps\samples\test\blank.mxml:168 Don't 
know how to parse element *:CartView. It is not a known type or a 
property of mx.containers.HBox.


Anthony Merryfield ha scritto:

Just type it as you would any other character... Or copy and paste it if
your keyboard is ye olde.

Tony.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 04 April 2005 13:45
To: Flex Coders
Subject: [flexcoders] Euro symbol



Sorry stupid question, maybe it's already post but i don't find.
How i can display in my label the  symbol, sorry if it's already post.
Devis




 
Yahoo! Groups Links



 





This communication together with any attachments transmitted with it (this
E-Mail) is intended only for the use of the addressee and may contain
information which is privileged and confidential.  If the reader of this
E-Mail is not the intended recipient or the employee or agent responsible
for delivering it to the intended recipient you are hereby notified that any
use, dissemination, forwarding, printing or copying of this E-Mail is
strictly prohibited.  Addressees should check this E-mail for viruses.  The
Company makes no representations as regards the absence of viruses in this
E-Mail.  If you have received this E-Mail in error please notify our ISe
Response Team immediately by telephone on +44 (0)20 8896 5828 or via e-mail
at [EMAIL PROTECTED]  Please then immediately delete, erase or otherwise
destroy this E-Mail and any copies of it.

Any opinions expressed in this E-Mail are those of the author and do not
necessarily constitute the views of the Company.  Nothing in this E-Mail
shall bind the Company in any contract or obligation.

For the purposes of this E-Mail the Company means The Carphone Warehouse
Group Plc and/or any of its subsidiaries.

Please feel free to visit our website:  http:// www.carphonewarehouse.com
or http://www.phonehouse.com

The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1
Portal Way, London W3 6RS



 
Yahoo! Groups Links



 


  





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Euro symbol

2005-04-04 Thread [EMAIL PROTECTED]

Hi,
i'm using this
 mx:Label styleName=price 
text=Totale:euro;{price.format(shoppingCart.total)}/
but throws this message pelase help
Devis




2 Errors found.
 
Error C:\jakarta-tomcat-5.5.7\webapps\samples\test\CartView.mxml:74
The entity euro was referenced, but not declared.


Error C:\jakarta-tomcat-5.5.7\webapps\samples\test\blank.mxml:168
Don't know how to parse element *:CartView. It is not a known type or 
a property of mx.containers.HBox.



 





 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Euro symbol

2005-04-04 Thread [EMAIL PROTECTED]

Yeah, work,
i'm using TextPad, and in my file i haven't use Encoding UTF-8, ;-(.
Thank's now work fine
Devis

Abdul Qabiz ha scritto:

You can save your file with UTF encoding. It should work.

Not sure, which Text editor you use. But you can do it with Notepad. Open
your mxml file in NotePad, then Save As, notice in Save As dialog, there
Encoding combobox. Select UTF-8 from it and save your file.

-abdul



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 04, 2005 8:49 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Euro symbol


Sorry i'm using copy and paste but flex throws this
mx:Label styleName=price 
text=Totale:{price.format(shoppingCart.total)}/

2 Errors found.
 
Error C:\jakarta-tomcat-5.5.7\webapps\samples\test\CartView.mxml
Error parsing MXML document: encoding is specified as UTF-8 but the file 
is not UTF-8 encoded.


Error C:\jakarta-tomcat-5.5.7\webapps\samples\test\blank.mxml:168 Don't 
know how to parse element *:CartView. It is not a known type or a 
property of mx.containers.HBox.


Anthony Merryfield ha scritto:

  

Just type it as you would any other character... Or copy and paste it if


your keyboard is ye olde.
  

Tony.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 04 April 2005 13:45
To: Flex Coders
Subject: [flexcoders] Euro symbol



Sorry stupid question, maybe it's already post but i don't find.
How i can display in my label the  symbol, sorry if it's already post.
Devis





Yahoo! Groups Links









This communication together with any attachments transmitted with it (this


E-Mail) is intended only for the use of the addressee and may contain
information which is privileged and confidential.  If the reader of this
E-Mail is not the intended recipient or the employee or agent responsible
for delivering it to the intended recipient you are hereby notified that any
use, dissemination, forwarding, printing or copying of this E-Mail is
strictly prohibited.  Addressees should check this E-mail for viruses.  The
Company makes no representations as regards the absence of viruses in this
E-Mail.  If you have received this E-Mail in error please notify our ISe
Response Team immediately by telephone on +44 (0)20 8896 5828 or via e-mail
at [EMAIL PROTECTED]  Please then immediately delete, erase or otherwise
destroy this E-Mail and any copies of it.
  

Any opinions expressed in this E-Mail are those of the author and do not


necessarily constitute the views of the Company.  Nothing in this E-Mail
shall bind the Company in any contract or obligation.
  

For the purposes of this E-Mail the Company means The Carphone Warehouse


Group Plc and/or any of its subsidiaries.
  

Please feel free to visit our website:  http:// www.carphonewarehouse.com


or http://www.phonehouse.com
  

The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1


Portal Way, London W3 6RS
  



Yahoo! Groups Links






 







 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 


  





 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Euro symbol

2005-04-04 Thread Abdul Qabiz

Hi Davis,

Please read my previous mail on this same topic. Try saving your file with
UTF-8 encoding, this should solve the problem...

It's better to save file in UTF-8 encoding...

-abdul 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 04, 2005 9:37 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Euro symbol


Hi,
i'm using this
 mx:Label styleName=price 
text=Totale:euro;{price.format(shoppingCart.total)}/
but throws this message pelase help
Devis




2 Errors found.
 
Error C:\jakarta-tomcat-5.5.7\webapps\samples\test\CartView.mxml:74
The entity euro was referenced, but not declared.


Error C:\jakarta-tomcat-5.5.7\webapps\samples\test\blank.mxml:168
Don't know how to parse element *:CartView. It is not a known type or 
a property of mx.containers.HBox.



 





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Euro symbol

2005-04-04 Thread Anthony Merryfield

I suggest you follow Abduls advice, as when I typed the character in and it 
worked first time.

I would have thought using euro; would work as well but I get the same error 
as you...

If I do this:

mx:Script
![CDATA[
var monetaryType:String = euro;;
]] 
/mx:Script

mx:Label text=Totale: {monetaryType}/

Flex prints: Totale: euro; No ¤ in sight!

Strange, maybe someone at MM can explain why this is?

Tony.





-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 04 April 2005 17:07
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Euro symbol



Hi,
i'm using this
 mx:Label styleName=price 
text=Totale:euro;{price.format(shoppingCart.total)}/
but throws this message pelase help
Devis




2 Errors found.
 
Error C:\jakarta-tomcat-5.5.7\webapps\samples\test\CartView.mxml:74
The entity euro was referenced, but not declared.


Error C:\jakarta-tomcat-5.5.7\webapps\samples\test\blank.mxml:168
Don't know how to parse element *:CartView. It is not a known type or 
a property of mx.containers.HBox.



 





 
Yahoo! Groups Links



 





This communication together with any attachments transmitted with it (this 
E-Mail) is intended only for the use of the addressee and may contain 
information which is privileged and confidential.  If the reader of this E-Mail 
is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient you are hereby notified that any use, 
dissemination, forwarding, printing or copying of this E-Mail is strictly 
prohibited.  Addressees should check this E-mail for viruses.  The Company 
makes no representations as regards the absence of viruses in this E-Mail.  If 
you have received this E-Mail in error please notify our IT Service Desk 
immediately by e-mail at [EMAIL PROTECTED]  Please then immediately delete, 
erase or otherwise destroy this E-Mail and any copies of it.

Any opinions expressed in this E-Mail are those of the author and do not 
necessarily constitute the views of the Company.  Nothing in this E-Mail shall 
bind the Company in any contract or obligation.

For the purposes of this E-Mail the Company means The Carphone Warehouse 
Group Plc and/or any of its subsidiaries.

Please feel free to visit our website:  http:// www.carphonewarehouse.com or 
http://www.phonehouse.com

The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1 Portal 
Way, London W3 6RS



 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Euro symbol

2005-04-04 Thread Manish Jethani

On Apr 4, 2005 8:48 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Sorry i'm using copy and paste but flex throws this
 mx:Label styleName=price
 text=Totale:{price.format(shoppingCart.total)}/

Use the character code directly.

  mx:Label text=#8364; /

If the font supports that character, it'll get displayed.

euro; is not reliable even in browsers.

And if you insert the character directly, make sure you save the file
as utf-8.  The encoding you should be saving your MXML files in is
specified at the top of your MXML document:

  ?xml version=1.0 encoding=utf-8?

Manish


 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/