how to get cross platform registered symbol in emails

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

how to get cross platform registered symbol in emails

Tami Williams
Using Lasso 8.5.

I'm working on code originally written on Windows. I'm on  a Mac.

Lasso's sending emails with Æ for the registered symbol instead of ®.  

When I look in the Lasso files I see Æ on my Mac instead of ® (which is what the Windows developers see).


My question is - if I go into the Lasso files and change all instances of Æ to ®, what happens when the Windows users edit those same files?

What's the way to put the registered symbol into the email format files that'll work cross-platform?  I don't want to have to change all the code to say send -html formatted emails.


Thanks in advance.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"It's better to burn out than to fade away."

Tami Williams
Creative Computing
Let us help you make frustrating, costly, and inefficient processes more efficient, less costly and scalable.
Lasso, MySQL and FileMaker specialists.

Tel/Fax: 770.457.3221
E-Mail: [hidden email]
Web: http://www.asktami.com/
LinkedIn: http://www.linkedin.com/in/asktami
Twitter: http://twitter.com/asktami
iChat/AIM/Skype: tamiwilliamsusa

FileMaker Business Alliance Member | Lasso Professional Alliance Member | Certified Lasso Developer | FileMaker 11 & 12 Certified Developer

------

If you want to receive sporadic email from Creative Computing regarding news at the company and announcements about upcoming Lasso webinars and online classes, please opt-in at http://tinyurl.com/yj7eqlg

#############################################################
Attend the Lasso Developer Conference 2014!
October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
http://www.lassosoft.com/LDC-newmarket-2014

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: how to get cross platform registered symbol in emails

stevepiercy
Try email_send(-characterset='utf-8').

I sent this message using utf-8.

® = registered trademark.

--steve


On 7/8/14 3:30 PM, Tami Williams wrote:

> Using Lasso 8.5.
>
> I'm working on code originally written on Windows. I'm on  a Mac.
>
> Lasso's sending emails with Æ for the registered symbol instead of ®.
>
> When I look in the Lasso files I see Æ on my Mac instead of ® (which is what the Windows developers see).
>
>
> My question is - if I go into the Lasso files and change all instances of Æ to ®, what happens when the Windows users edit those same files?
>
> What's the way to put the registered symbol into the email format files that'll work cross-platform?  I don't want to have to change all the code to say send -html formatted emails.
>
>
> Thanks in advance.
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> "It's better to burn out than to fade away."
>
> Tami Williams
> Creative Computing
> Let us help you make frustrating, costly, and inefficient processes more efficient, less costly and scalable.
> Lasso, MySQL and FileMaker specialists.
>
> Tel/Fax: 770.457.3221
> E-Mail: [hidden email]
> Web: http://www.asktami.com/
> LinkedIn: http://www.linkedin.com/in/asktami
> Twitter: http://twitter.com/asktami
> iChat/AIM/Skype: tamiwilliamsusa
>
> FileMaker Business Alliance Member | Lasso Professional Alliance Member | Certified Lasso Developer | FileMaker 11 & 12 Certified Developer
>
> ------
>
> If you want to receive sporadic email from Creative Computing regarding news at the company and announcements about upcoming Lasso webinars and online classes, please opt-in at http://tinyurl.com/yj7eqlg
>
> #############################################################
> Attend the Lasso Developer Conference 2014!
> October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
> http://www.lassosoft.com/LDC-newmarket-2014
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>    the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
>


--
---------------------------------
Steve Piercy, Soquel, CA
[hidden email]
#############################################################
Attend the Lasso Developer Conference 2014!
October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
http://www.lassosoft.com/LDC-newmarket-2014

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: how to get cross platform registered symbol in emails

Tami Williams
this works in Lasso 8.5?

> email_send(-characterset='utf-8'



On Jul 8, 2014, at 6:46 PM, Steve Piercy <[hidden email]> wrote:

> Try email_send(-characterset='utf-8').
>
> I sent this message using utf-8.
>
> ® = registered trademark.
>
> --steve
>
>
> On 7/8/14 3:30 PM, Tami Williams wrote:
>> Using Lasso 8.5.
>>
>> I'm working on code originally written on Windows. I'm on  a Mac.
>>
>> Lasso's sending emails with Æ for the registered symbol instead of ®.
>>
>> When I look in the Lasso files I see Æ on my Mac instead of ® (which is what the Windows developers see).
>>
>>
>> My question is - if I go into the Lasso files and change all instances of Æ to ®, what happens when the Windows users edit those same files?
>>
>> What's the way to put the registered symbol into the email format files that'll work cross-platform?  I don't want to have to change all the code to say send -html formatted emails.
>>
>>
>> Thanks in advance.
>>
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> "It's better to burn out than to fade away."
>>
>> Tami Williams
>> Creative Computing
>> Let us help you make frustrating, costly, and inefficient processes more efficient, less costly and scalable.
>> Lasso, MySQL and FileMaker specialists.
>>
>> Tel/Fax: 770.457.3221
>> E-Mail: [hidden email]
>> Web: http://www.asktami.com/
>> LinkedIn: http://www.linkedin.com/in/asktami
>> Twitter: http://twitter.com/asktami
>> iChat/AIM/Skype: tamiwilliamsusa
>>
>> FileMaker Business Alliance Member | Lasso Professional Alliance Member | Certified Lasso Developer | FileMaker 11 & 12 Certified Developer
>>
>> ------
>>
>> If you want to receive sporadic email from Creative Computing regarding news at the company and announcements about upcoming Lasso webinars and online classes, please opt-in at http://tinyurl.com/yj7eqlg
>>
>> #############################################################
>> Attend the Lasso Developer Conference 2014!
>> October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
>> http://www.lassosoft.com/LDC-newmarket-2014
>>
>> #############################################################
>>
>> This message is sent to you because you are subscribed to
>>   the mailing list Lasso [hidden email]
>> Official list archives available at http://www.lassotalk.com
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>>
>
>
> --
> ---------------------------------
> Steve Piercy, Soquel, CA
> [hidden email]
> #############################################################
> Attend the Lasso Developer Conference 2014!
> October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
> http://www.lassosoft.com/LDC-newmarket-2014
>
> #############################################################
>
> This message is sent to you because you are subscribed to
> the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>

#############################################################
Attend the Lasso Developer Conference 2014!
October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
http://www.lassosoft.com/LDC-newmarket-2014

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: how to get cross platform registered symbol in emails

stevepiercy
Check your 8.5 Language Guide.

--steve


On 7/8/14 at 7:29 PM, [hidden email] (Tami Williams) pronounced:

> this works in Lasso 8.5?
>
> > email_send(-characterset='utf-8'
>
>
>
> On Jul 8, 2014, at 6:46 PM, Steve Piercy <[hidden email]> wrote:
>
> > Try email_send(-characterset='utf-8').
> >
> > I sent this message using utf-8.
> >
> > ® = registered trademark.
> >
> > --steve
> >
> >
> > On 7/8/14 3:30 PM, Tami Williams wrote:
> >> Using Lasso 8.5.
> >>
> >> I'm working on code originally written on Windows. I'm on  a Mac.
> >>
> >> Lasso's sending emails with Æ for the registered symbol instead of ®.
> >>
> >> When I look in the Lasso files I see Æ on my Mac instead of ® (which is what the
> Windows developers see).
> >>
> >>
> >> My question is - if I go into the Lasso files and change all instances of Æ to
> ®, what happens when the Windows users edit those same files?
> >>
> >> What's the way to put the registered symbol into the email format files that'll
> work cross-platform?  I don't want to have to change all the code to say send -html
> formatted emails.
> >>
> >>
> >> Thanks in advance.
> >>
> >>
> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> "It's better to burn out than to fade away."
> >>
> >> Tami Williams
> >> Creative Computing
> >> Let us help you make frustrating, costly, and inefficient processes more
> efficient, less costly and scalable.
> >> Lasso, MySQL and FileMaker specialists.
> >>
> >> Tel/Fax: 770.457.3221
> >> E-Mail: [hidden email]
> >> Web: http://www.asktami.com/
> >> LinkedIn: http://www.linkedin.com/in/asktami
> >> Twitter: http://twitter.com/asktami
> >> iChat/AIM/Skype: tamiwilliamsusa
> >>
> >> FileMaker Business Alliance Member | Lasso Professional Alliance Member |
> Certified Lasso Developer | FileMaker 11 & 12 Certified Developer
> >>
> >> ------
> >>
> >> If you want to receive sporadic email from Creative Computing regarding news at
> the company and announcements about upcoming Lasso webinars and online classes,
> please opt-in at http://tinyurl.com/yj7eqlg
> >>
> >> #############################################################
> >> Attend the Lasso Developer Conference 2014!
> >> October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
> >> http://www.lassosoft.com/LDC-newmarket-2014
> >>
> >> #############################################################
> >>
> >> This message is sent to you because you are subscribed to
> >>   the mailing list Lasso [hidden email]
> >> Official list archives available at http://www.lassotalk.com
> >> To unsubscribe, E-mail to: <[hidden email]>
> >> Send administrative queries to  <[hidden email]>
> >>
> >
> >
> > --
> > ---------------------------------
> > Steve Piercy, Soquel, CA
> > [hidden email]
> > #############################################################
> > Attend the Lasso Developer Conference 2014!
> > October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
> > http://www.lassosoft.com/LDC-newmarket-2014
> >
> > #############################################################
> >
> > This message is sent to you because you are subscribed to
> > the mailing list Lasso [hidden email]
> > Official list archives available at http://www.lassotalk.com
> > To unsubscribe, E-mail to: <[hidden email]>
> > Send administrative queries to  <[hidden email]>
>
> #############################################################
> Attend the Lasso Developer Conference 2014!
> October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
> http://www.lassosoft.com/LDC-newmarket-2014
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>   the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Steve Piercy              Website Builder              Soquel, CA
<[hidden email]>               <http://www.StevePiercy.com/>

#############################################################
Attend the Lasso Developer Conference 2014!
October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
http://www.lassosoft.com/LDC-newmarket-2014

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: how to get cross platform registered symbol in emails

Bil Corry-3
In reply to this post by Tami Williams
You have two choices for the character set encoding of your Lasso files:

1) Save in UTF-8 with the BOM marker

2) Save in the default charset of the Lasso server, which is based on the
OS of the server (Windows = Windows-1252, OS X = Mac-Roman, Linux =
ISO-8859-1)

If you go with #1, it means every developer must use an editing tool that
understands UTF-8 and will save/preserve the BOM marker.  The upside is you
will all see the same thing, the downside is many edit tools don't
correctly handle UTF-8 files that contain a BOM marker.  The BOM marker is
essential because that's what tells Lasso that the file is UTF-8 and not
the default charset.  You could just make this one file UTF-8 and leave the
rest of the files as-is,

If you go with #2, then someone is going to see funky characters when you
use anything other than vanilla ASCII.  If the Lasso server is deployed on
OS X, then all files must be in Mac Roman, which means you should correct
the copyright sign and send it to your Windows colleagues.  They'll see "¨
<http://en.wikipedia.org/wiki/Trema_(diacritic)>" instead of the copyright
sign in the source code, but it won't matter because the Lasso server will
correctly interpret it as a copyright sign (assuming it's on OS X).  If the
server runs on Windows, then it's the reverse, you'll see the "Æ" instead
of the copyright sign in the source code, but once deployed, Lasso will
correctly send the copyright sign.


- Bil





On Wed, Jul 9, 2014 at 12:30 AM, Tami Williams <[hidden email]> wrote:

> Using Lasso 8.5.
>
> I'm working on code originally written on Windows. I'm on  a Mac.
>
> Lasso's sending emails with Æ for the registered symbol instead of ®.
>
> When I look in the Lasso files I see Æ on my Mac instead of ® (which is
> what the Windows developers see).
>
>
> My question is - if I go into the Lasso files and change all instances of
> Æ to ®, what happens when the Windows users edit those same files?
>
> What's the way to put the registered symbol into the email format files
> that'll work cross-platform?  I don't want to have to change all the code
> to say send -html formatted emails.
>
>
> Thanks in advance.
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> "It's better to burn out than to fade away."
>
> Tami Williams
> Creative Computing
> Let us help you make frustrating, costly, and inefficient processes more
> efficient, less costly and scalable.
> Lasso, MySQL and FileMaker specialists.
>
> Tel/Fax: 770.457.3221
> E-Mail: [hidden email]
> Web: http://www.asktami.com/
> LinkedIn: http://www.linkedin.com/in/asktami
> Twitter: http://twitter.com/asktami
> iChat/AIM/Skype: tamiwilliamsusa
>
> FileMaker Business Alliance Member | Lasso Professional Alliance Member |
> Certified Lasso Developer | FileMaker 11 & 12 Certified Developer
>
> ------
>
> If you want to receive sporadic email from Creative Computing regarding
> news at the company and announcements about upcoming Lasso webinars and
> online classes, please opt-in at http://tinyurl.com/yj7eqlg
>
> #############################################################
> Attend the Lasso Developer Conference 2014!
> October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
> http://www.lassosoft.com/LDC-newmarket-2014
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>   the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
>
#############################################################
Attend the Lasso Developer Conference 2014!
October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
http://www.lassosoft.com/LDC-newmarket-2014

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: how to get cross platform registered symbol in emails

Eric Knibbe-2
A few extra points:

- Both TextWrangler and BBEdit show the file's encoding and include the option to save as UTF-8 with BOM.

- Lasso 9 assumes files are encoded in UTF-8 by default, without requiring a BOM. Keep in mind that the BOM is neither technically required for UTF-8 (unlike UTF-16), nor recommended by the Unicode standard as an encoding signature, but Lasso 8 is an example of software that requires one in order to read a file as UTF-8.

- Lasso 8 on Mac assumes that any files it reads that lack the BOM are encoded as Mac OS Roman, which dates back to the days of Mac OS 9 and earlier. If you compare its code table <http://en.wikipedia.org/wiki/Mac_OS_Roman> with those of the other encodings you're most likely to encounter:
  - ISO/IEC_8859-1, a.k.a. Western ISO Latin 1 (the original standard for encoding bytes 128-255)
  - Windows-1252, a.k.a. Windows Latin 1 (same as ISO Latin 1, but with smart quotes and other special characters added)
  - ISO/IEC_8859-15, a.k.a. Western ISO Latin 9  (similar to ISO Latin 1, but with some changed characters and no additions, and still no smart quotes)
you'll see that only Mac OS Roman has "®" in position #168 (0xA8), while the others have it at position #174 (0xAE), which in Mac OS Roman is "Æ".

(The "€" symbol is even more fun - in Windows Latin 1, it's #128; in ISO Latin 9, it's #164, and in Mac OS Roman, it's #219, but only on Mac OS 8.5 or later.)

By the way, the Default Page Encoding setting in Site Admin > Setup > Site > Lasso Settings only changes the encoding of the pages it serves along with the default Content-Type header.
‐‐‐‐‐‐‐‐‐‐✂‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
Eric3
 

On 2014-07-09, at 5:39 AM, Bil Corry wrote:

> You have two choices for the character set encoding of your Lasso files:
>
> 1) Save in UTF-8 with the BOM marker
>
> 2) Save in the default charset of the Lasso server, which is based on the
> OS of the server (Windows = Windows-1252, OS X = Mac-Roman, Linux =
> ISO-8859-1)
>
> If you go with #1, it means every developer must use an editing tool that
> understands UTF-8 and will save/preserve the BOM marker.  The upside is you
> will all see the same thing, the downside is many edit tools don't
> correctly handle UTF-8 files that contain a BOM marker.  The BOM marker is
> essential because that's what tells Lasso that the file is UTF-8 and not
> the default charset.  You could just make this one file UTF-8 and leave the
> rest of the files as-is,
>
> If you go with #2, then someone is going to see funky characters when you
> use anything other than vanilla ASCII.  If the Lasso server is deployed on
> OS X, then all files must be in Mac Roman, which means you should correct
> the copyright sign and send it to your Windows colleagues.  They'll see "¨
> <http://en.wikipedia.org/wiki/Trema_(diacritic)>" instead of the copyright
> sign in the source code, but it won't matter because the Lasso server will
> correctly interpret it as a copyright sign (assuming it's on OS X).  If the
> server runs on Windows, then it's the reverse, you'll see the "Æ" instead
> of the copyright sign in the source code, but once deployed, Lasso will
> correctly send the copyright sign.
>
>
> - Bil
>
>
>
>
>
> On Wed, Jul 9, 2014 at 12:30 AM, Tami Williams <[hidden email]> wrote:
>
>> Using Lasso 8.5.
>>
>> I'm working on code originally written on Windows. I'm on  a Mac.
>>
>> Lasso's sending emails with Æ for the registered symbol instead of ®.
>>
>> When I look in the Lasso files I see Æ on my Mac instead of ® (which is
>> what the Windows developers see).
>>
>>
>> My question is - if I go into the Lasso files and change all instances of
>> Æ to ®, what happens when the Windows users edit those same files?
>>
>> What's the way to put the registered symbol into the email format files
>> that'll work cross-platform?  I don't want to have to change all the code
>> to say send -html formatted emails.
>>
>>
>> Thanks in advance.
>>
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> "It's better to burn out than to fade away."
>>
>> Tami Williams
>> Creative Computing
>> Let us help you make frustrating, costly, and inefficient processes more
>> efficient, less costly and scalable.
>> Lasso, MySQL and FileMaker specialists.
>>
>> Tel/Fax: 770.457.3221
>> E-Mail: [hidden email]
>> Web: http://www.asktami.com/
>> LinkedIn: http://www.linkedin.com/in/asktami
>> Twitter: http://twitter.com/asktami
>> iChat/AIM/Skype: tamiwilliamsusa
>>
>> FileMaker Business Alliance Member | Lasso Professional Alliance Member |
>> Certified Lasso Developer | FileMaker 11 & 12 Certified Developer
>>
>> ------
>>
>> If you want to receive sporadic email from Creative Computing regarding
>> news at the company and announcements about upcoming Lasso webinars and
>> online classes, please opt-in at http://tinyurl.com/yj7eqlg
>>
>> #############################################################
>> Attend the Lasso Developer Conference 2014!
>> October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
>> http://www.lassosoft.com/LDC-newmarket-2014
>>
>> #############################################################
>>
>> This message is sent to you because you are subscribed to
>>  the mailing list Lasso [hidden email]
>> Official list archives available at http://www.lassotalk.com
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>>
> #############################################################
> Attend the Lasso Developer Conference 2014!
> October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
> http://www.lassosoft.com/LDC-newmarket-2014
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>

#############################################################
Attend the Lasso Developer Conference 2014!
October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
http://www.lassosoft.com/LDC-newmarket-2014

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>