List Info

Thread: Script translated




Script translated
country flaguser name
United States
2007-07-17 12:40:16
I visited http://whytheluckystiff.net/articles/seeingMet
aclassesClearly.html,
which provides a neat tutorial about metaclasses in Ruby
programming.

I particularly like the GUI the author created and want to
emulate his
techniques.  In particular, he used the (three character)
string âEURO(tm)
(hex E2 80 99) which translated in ' (ASCII apostrophe) in
both
Firefox 2 and HTML-Kit HTML-Kit Version 1.0 (Build 292). 
However, IE7
leaves it untranslated.

I presume the author coded the apostrophe this way was for
internationalization.  But I don't see why this works in
Firefox and
HTML-Kit.  Can anyone explain why the following works in
those two
browsers?

<?xml version="1.0"
encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quo
t;>
<html xmlns="http://www.w3.org/
1999/xhtml" lang="en"
xml:lang="en">
<head>
    <title>Apostrophy Test.html</title>
</head>

<body>
    <p>If youâEURO(tm)re new to metaprogramming in
Ruby</p>
</body
</html>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "JavaScript Forum" group.
To post to this group, send email to
JavaScript-Informationgooglegroups.com
To unsubscribe from this group, send email to
JavaScript-Information-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/JavaScript-Information
?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Script translated
country flaguser name
United States
2007-07-17 22:17:32


On Jul 17, 1:40 pm, Richard
<RichardDummyMailbox58...USComputerGurus.com>
wrote:
> I visitedhttp://whytheluckystiff.net/articles/seeingMet
aclassesClearly.html,
> which provides a neat tutorial about metaclasses in
Ruby programming.
>
> I particularly like the GUI the author created and want
to emulate his
> techniques.  In particular, he used the (three
character) string âEURO(tm)
> (hex E2 80 99) which translated in ' (ASCII apostrophe)
in both
> Firefox 2 and HTML-Kit HTML-Kit Version 1.0 (Build
292).  However, IE7
> leaves it untranslated.
>
> I presume the author coded the apostrophe this way was
for
> internationalization.  But I don't see why this works
in Firefox and
> HTML-Kit.  Can anyone explain why the following works
in those two
> browsers?
>
> <?xml version="1.0"
encoding="utf-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN"
>     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quo
t;>
> <html xmlns="http://www.w3.org/
1999/xhtml" lang="en"
xml:lang="en">
> <head>
>     <title>Apostrophy Test.html</title>
> </head>
>
> <body>
>     <p>If youâEURO(tm)re new to metaprogramming
in Ruby</p>
> </body
> </html>

My apologies.  I reposted this in alt.html,  because there's
no
scripting in this question.  Also,  I provided the Subject
there that
I meant to apply here: "String "âEURO(tm)"
translated to apostrophe. Why?"

Nevertheless,  I'll check here for any responses and post
any useful
response I get at alt.html, if any.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "JavaScript Forum" group.
To post to this group, send email to
JavaScript-Informationgooglegroups.com
To unsubscribe from this group, send email to
JavaScript-Information-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/JavaScript-Information
?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )