L-Debug map rendering

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

L-Debug map rendering

Jolle Carlestam-3
Hello!

Just a small suggestion for improvement on L-Debug.

When it display map contents where the map only holds pair values, or as in some cases for me pairs where there's no values, only names, L-Debug will display only the value. Probably because it calls loop_value. Only that in Lasso 9 loop_value for maps will only return the value. Makes it harder to track what actually goes into the map.

Try this code and you'll see what I mean:

debug -> activate

var(mymap = map('one', 'two','four'))
debug('mymap' = $mymap)

var(moremap = map('one' = 1, 'two' = 2,'four' = 4))
debug('moremap' = $moremap)

var(multimap = map('one' = 1, 'two' = array('oneone', 'twotwo'), 'four' = 4))
debug('multimap' = $multimap)

var(myarray = array('one' = 1, 'two' = array('oneone', 'twotwo'), 'four' = 4))
debug('myarray' = $myarray)

It's hard to copy/paste L-Debug results since it's so nicely formatted for web but here it is nevertheless:
mymap:
map
        •
        •
        •
moremap:
map
        • 4
        • 1
        • 2
multimap:
map
        • 4
        • 1
        • array
                • oneone
                • twotwo
myarray:
array
        • one:1
        • two:
        array
                • oneone
                • twotwo
        • four:4

HDB
Jolle

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Re: L-Debug map rendering

Ke Carlton-3
Ah. What a PITA.

Why that change to map iterate? Stupid — what was / is the
justification for the change?

I'll have a look at the options — but this is daft, I should just be
able to iterate over any object and examine each item. Given that the
value is tied intrinsically to the pair why doesn't it just return the
pair?

Ke

ps. Not a question for you Jolle. ;)

On 2 February 2011 13:20, Jolle Carlestam <[hidden email]> wrote:

> Hello!
>
> Just a small suggestion for improvement on L-Debug.
>
> When it display map contents where the map only holds pair values, or as in some cases for me pairs where there's no values, only names, L-Debug will display only the value. Probably because it calls loop_value. Only that in Lasso 9 loop_value for maps will only return the value. Makes it harder to track what actually goes into the map.
>
> Try this code and you'll see what I mean:
>
> debug -> activate
>
> var(mymap = map('one', 'two','four'))
> debug('mymap' = $mymap)
>
> var(moremap = map('one' = 1, 'two' = 2,'four' = 4))
> debug('moremap' = $moremap)
>
> var(multimap = map('one' = 1, 'two' = array('oneone', 'twotwo'), 'four' = 4))
> debug('multimap' = $multimap)
>
> var(myarray = array('one' = 1, 'two' = array('oneone', 'twotwo'), 'four' = 4))
> debug('myarray' = $myarray)
>
> It's hard to copy/paste L-Debug results since it's so nicely formatted for web but here it is nevertheless:
> mymap:
> map
>        •
>        •
>        •
> moremap:
> map
>        • 4
>        • 1
>        • 2
> multimap:
> map
>        • 4
>        • 1
>        • array
>                • oneone
>                • twotwo
> myarray:
> array
>        • one:1
>        • two:
>        array
>                • oneone
>                • twotwo
>        • four:4
>
> HDB
> Jolle
>
> #############################################################
> This message is sent to you because you are subscribed to
>  the mailing list <[hidden email]>.
> To unsubscribe, E-mail to: <[hidden email]>
> To switch to the DIGEST mode, E-mail to <[hidden email]>
> To switch to the INDEX mode, E-mail to <[hidden email]>
> Send administrative queries to  <[hidden email]>
>
>

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Re: L-Debug map rendering

Jolle Carlestam-3
In reply to this post by Jolle Carlestam-3
I had this up on the beta list during the dark ages.
I suppose the argument is that using loop_value you want the value.
There is a corresponding call (loop_key (?)) that will give you the name of the pair.

Note that this only happen when you use the Lasso 9 way of iterating. Doing it Lasso 8.5 style still gives you both:

var(moremap = map('one' = 1, 'two' = 2,'four' = 4))

iterate($moremap) => {^
        loop_value
        br
^}
iterate($moremap, var(temp))
        $temp
        br
/iterate

->
4
1
2
(four = 4)
(one = 1)
(two = 2)

HDB
Jolle

2 feb 2011 kl. 14.55 skrev Ke Carlton:

> Ah. What a PITA.
>
> Why that change to map iterate? Stupid — what was / is the
> justification for the change?
>
> I'll have a look at the options — but this is daft, I should just be
> able to iterate over any object and examine each item. Given that the
> value is tied intrinsically to the pair why doesn't it just return the
> pair?
>
> Ke
>
> ps. Not a question for you Jolle. ;)
>
> On 2 February 2011 13:20, Jolle Carlestam <[hidden email]> wrote:
>> Hello!
>>
>> Just a small suggestion for improvement on L-Debug.
>>
>> When it display map contents where the map only holds pair values, or as in some cases for me pairs where there's no values, only names, L-Debug will display only the value. Probably because it calls loop_value. Only that in Lasso 9 loop_value for maps will only return the value. Makes it harder to track what actually goes into the map.
>>
>> Try this code and you'll see what I mean:
>>
>> debug -> activate
>>
>> var(mymap = map('one', 'two','four'))
>> debug('mymap' = $mymap)
>>
>> var(moremap = map('one' = 1, 'two' = 2,'four' = 4))
>> debug('moremap' = $moremap)
>>
>> var(multimap = map('one' = 1, 'two' = array('oneone', 'twotwo'), 'four' = 4))
>> debug('multimap' = $multimap)
>>
>> var(myarray = array('one' = 1, 'two' = array('oneone', 'twotwo'), 'four' = 4))
>> debug('myarray' = $myarray)
>>
>> It's hard to copy/paste L-Debug results since it's so nicely formatted for web but here it is nevertheless:
>> mymap:
>> map
>>        •
>>        •
>>        •
>> moremap:
>> map
>>        • 4
>>        • 1
>>        • 2
>> multimap:
>> map
>>        • 4
>>        • 1
>>        • array
>>                • oneone
>>                • twotwo
>> myarray:
>> array
>>        • one:1
>>        • two:
>>        array
>>                • oneone
>>                • twotwo
>>        • four:4
>>
>> HDB
>> Jolle
>>
>> #############################################################
>> This message is sent to you because you are subscribed to
>>  the mailing list <[hidden email]>.
>> To unsubscribe, E-mail to: <[hidden email]>
>> To switch to the DIGEST mode, E-mail to <[hidden email]>
>> To switch to the INDEX mode, E-mail to <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>>
>>
>
>



#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Re: L-Debug map rendering

Brad Lindsay-2
On Feb 2, 2011, at 9:16 AM, Jolle Carlestam wrote:

> I had this up on the beta list during the dark ages.
> I suppose the argument is that using loop_value you want the value.
> There is a corresponding call (loop_key (?)) that will give you the name of the pair.
>
> Note that this only happen when you use the Lasso 9 way of iterating. Doing it Lasso 8.5 style still gives you both:
>
> var(moremap = map('one' = 1, 'two' = 2,'four' = 4))
>
> iterate($moremap) => {^
> loop_value
> br
> ^}
> iterate($moremap, var(temp))
> $temp
> br
> /iterate

Isn't this perfectly valid Lasso 9 iteration?:
=========
iterate($moremap, local(temp)) => {^
        #temp
        '<br>'
^}
=========
Produces
=========
(four = 4)
(one = 1)
(two = 2)


Maybe not. Just tried a query expression:
=========
with temp in $moremap
do {^
    #temp
    '<br>'
^}
=========
Produces
=========
4
1
2

This seems like a bug in Lasso 9 to me.

Brad
#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Re: L-Debug map rendering

Ke Carlton-3
In reply to this post by Jolle Carlestam-3
This has been corrected and has been published to stable branch —
simply re-export to install.

If any one is interested has the duplicate code required to deal with
the change.


                        if(#object->isA(::map)) => {
                                #object->forEachPair => {
                                        #output += '<li>' + .render(#1) + '</li>'
                                }
                        else
                                iterate(#object) => {
                                        #output += '<li>' + .render(loop_value) + '</li>'
                                }
                        }


This is daft, it also rules out query expressions for maps.

        With pair in #map do => {
    // er no, you're only getting the value which is fairly useless
on it's own...
        }

Where's the logic?

Ke

On 2 February 2011 14:16, Jolle Carlestam <[hidden email]> wrote:
> I had this up on the beta list during the dark ages.
> I suppose the argument is that using loop_value you want the value.
> There is a corresponding call (loop_key (?)) that will give you the name of the pair.

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Re: L-Debug map rendering

Jolle Carlestam-3
In reply to this post by Brad Lindsay-2

2 feb 2011 kl. 15.23 skrev Brad Lindsay:

> On Feb 2, 2011, at 9:16 AM, Jolle Carlestam wrote:
>> I had this up on the beta list during the dark ages.
>> I suppose the argument is that using loop_value you want the value.
>> There is a corresponding call (loop_key (?)) that will give you the name of the pair.
>>
>> Note that this only happen when you use the Lasso 9 way of iterating. Doing it Lasso 8.5 style still gives you both:
>>
>> var(moremap = map('one' = 1, 'two' = 2,'four' = 4))
>>
>> iterate($moremap) => {^
>> loop_value
>> br
>> ^}
>> iterate($moremap, var(temp))
>> $temp
>> br
>> /iterate
>
> Isn't this perfectly valid Lasso 9 iteration?:
> =========
> iterate($moremap, local(temp)) => {^
> #temp
> '<br>'
> ^}
> =========
> Produces
> =========
> (four = 4)
> (one = 1)
> (two = 2)
>
>
> Maybe not. Just tried a query expression:
> =========
> with temp in $moremap
> do {^
>    #temp
>    '<br>'
> ^}
> =========
> Produces
> =========
> 4
> 1
> 2
>
> This seems like a bug in Lasso 9 to me.

Also that maps and arrays don't return the same results using the same code:
var(mymap = map('one' = 1, 'two' = 2,'four' = 4))
iterate($mymap) => {^
        loop_value
        br
^}
var(myarray = array('one' = 1, 'two' = 2,'four' = 4))
iterate($myarray) => {^
        loop_value
        br
^}
->
4
1
2
(one = 1)
(two = 2)
(four = 4)

HDB
Jolle

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Re: L-Debug map rendering

Ke Carlton-3
In reply to this post by Brad Lindsay-2
++ — or a not thought through change.

Ke

On 2 February 2011 14:23, Brad Lindsay <[hidden email]> wrote:
>
> This seems like a bug in Lasso 9 to me.
>
> Brad

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Re: L-Debug map rendering

Jolle Carlestam-3
In reply to this post by Ke Carlton-3
2 feb 2011 kl. 15.27 skrev Ke Carlton:

> This has been corrected and has been published to stable branch —
> simply re-export to install.
>
> If any one is interested has the duplicate code required to deal with
> the change.
>
>
> if(#object->isA(::map)) => {
> #object->forEachPair => {
> #output += '<li>' + .render(#1) + '</li>'
> }
> else
> iterate(#object) => {
> #output += '<li>' + .render(loop_value) + '</li>'
> }
> }

Ah, actually not corrected. Here's the small code change needed to get it working:

                        if(#object->isA(::map)) => {
                                #object->forEachPair => {
                                        #output += '<li>' + .render(#1) + '</li>'
                                }
                        else
                                iterate(#object) => {
                                        #output += '<li>' + .render(loop_value) + '</li>'
                                }
                        }

HDB
Jolle

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Re: L-Debug map rendering

Ke Carlton-3
Er, I don't see the difference between the two?

Perhaps something went wrong with the publish to the stable branch —
have republished.

Ke

On 2 February 2011 14:51, Jolle Carlestam <[hidden email]> wrote:

> 2 feb 2011 kl. 15.27 skrev Ke Carlton:
>
>>
>>                       if(#object->isA(::map)) => {
>>                               #object->forEachPair => {
>>                                       #output += '<li>' + .render(#1) + '</li>'
>>                               }
>>                       else
>>                               iterate(#object) => {
>>                                       #output += '<li>' + .render(loop_value) + '</li>'
>>                               }
>>                       }
>
> Ah, actually not corrected. Here's the small code change needed to get it working:
>
>                        if(#object->isA(::map)) => {
>                                #object->forEachPair => {
>                                        #output += '<li>' + .render(#1) + '</li>'
>                                }
>                        else
>                                iterate(#object) => {
>                                        #output += '<li>' + .render(loop_value) + '</li>'
>                                }
>                        }
>
> HDB
> Jolle
>
> #############################################################
> This message is sent to you because you are subscribed to
>  the mailing list <[hidden email]>.
> To unsubscribe, E-mail to: <[hidden email]>
> To switch to the DIGEST mode, E-mail to <[hidden email]>
> To switch to the INDEX mode, E-mail to <[hidden email]>
> Send administrative queries to  <[hidden email]>
>
>

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Re: L-Debug map rendering

Jolle Carlestam-3

2 feb 2011 kl. 15.56 skrev Ke Carlton:

> Er, I don't see the difference between the two?

>>                                        #output += '<li>' + .render(#1) + '</li>'

You're right. This line showed up as:
                                        #output += '<li>' + .render(loop_value) + '</li>'
in my exported version.

HDB
Jolle

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Re: L-Debug map rendering

Ke Carlton-3
OK now?

I tend to work off the src and only publish to the stable branch —
well, when all changes are stable...

Ke

On 2 February 2011 15:12, Jolle Carlestam <[hidden email]> wrote:
>
> You're right. This line showed up as:
>                                        #output += '<li>' + .render(loop_value) + '</li>'
> in my exported version.
>
> HDB
> Jolle

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Re: L-Debug map rendering

Jolle Carlestam-3
Yes, it's working now.

HDB
Jolle

2 feb 2011 kl. 16.17 skrev Ke Carlton:

> OK now?
>
> I tend to work off the src and only publish to the stable branch —
> well, when all changes are stable...
>
> Ke
>
> On 2 February 2011 15:12, Jolle Carlestam <[hidden email]> wrote:
>>
>> You're right. This line showed up as:
>>                                        #output += '<li>' + .render(loop_value) + '</li>'
>> in my exported version.
>>
>> HDB
>> Jolle


#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

can I put a trademark in the subject line of an email?

Michael Benedict
Not having any luck including a trademark symbol in the subject line of an
email.
Is that possible. I tried using this approach.

-Subject=(var: 'Email_Subject',-encodeSmart),

With this &reg; as the symbol in the subject line?

Thanks in advance, I have a cranky customer or I wouldn't bother you all.

Cheers,
Michael


#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Re: can I put a trademark in the subject line of an email?

Doug Gentry-2
I haven't tried it, but if I did I'd probably use -encodenone . My sense is that the subject line is not rendered by a web engine (think plain text email), so you don't want to mess with HTML characters in the subject line. Just not sure if the TM symbol falls outside the range of email.

...Doug Gentry

On Feb 2, 2011, at 2:21 PM, Michael Benedict wrote:

> Not having any luck including a trademark symbol in the subject line of an
> email.
> Is that possible. I tried using this approach.
>
> -Subject=(var: 'Email_Subject',-encodeSmart),
>
> With this &reg; as the symbol in the subject line?
>
> Thanks in advance, I have a cranky customer or I wouldn't bother you all.
>
> Cheers,
> Michael
>


---
Doug Gentry
Dynapolis & Southern Oregon University
p:  541-261-8501 / Toll Free: 866-890-6013
[hidden email]
www.dynapolis.com - blog: www.plain-sense.com




#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Re: can I put a trademark in the subject line of an email?

Rick Draper-2
T & R render as plain text - copy and paste these into the code and give it
a try....

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf
Of Doug Gentry
Sent: Thursday, 3 February 2011 10:09 AM
To: [hidden email]
Subject: Re: can I put a trademark in the subject line of an email?

I haven't tried it, but if I did I'd probably use -encodenone . My sense is
that the subject line is not rendered by a web engine (think plain text
email), so you don't want to mess with HTML characters in the subject line.
Just not sure if the TM symbol falls outside the range of email.

...Doug Gentry

On Feb 2, 2011, at 2:21 PM, Michael Benedict wrote:

> Not having any luck including a trademark symbol in the subject line
> of an email.
> Is that possible. I tried using this approach.
>
> -Subject=(var: 'Email_Subject',-encodeSmart),
>
> With this &reg; as the symbol in the subject line?
>
> Thanks in advance, I have a cranky customer or I wouldn't bother you all.
>
> Cheers,
> Michael
>


---
Doug Gentry
Dynapolis & Southern Oregon University
p:  541-261-8501 / Toll Free: 866-890-6013 [hidden email]
www.dynapolis.com - blog: www.plain-sense.com




#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Re: can I put a trademark in the subject line of an email?

Rick Draper-2
Hm... maybe not.  I just tried some test code and it resulted in (tm) and
(r) being rendered in the subject line.  Might be the best you can do.

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf
Of Rick Draper
Sent: Thursday, 3 February 2011 10:20 AM
To: [hidden email]
Subject: Re: can I put a trademark in the subject line of an email?

T & R render as plain text - copy and paste these into the code and give it
a try....

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf
Of Doug Gentry
Sent: Thursday, 3 February 2011 10:09 AM
To: [hidden email]
Subject: Re: can I put a trademark in the subject line of an email?

I haven't tried it, but if I did I'd probably use -encodenone . My sense is
that the subject line is not rendered by a web engine (think plain text
email), so you don't want to mess with HTML characters in the subject line.
Just not sure if the TM symbol falls outside the range of email.

...Doug Gentry

On Feb 2, 2011, at 2:21 PM, Michael Benedict wrote:

> Not having any luck including a trademark symbol in the subject line
> of an email.
> Is that possible. I tried using this approach.
>
> -Subject=(var: 'Email_Subject',-encodeSmart),
>
> With this &reg; as the symbol in the subject line?
>
> Thanks in advance, I have a cranky customer or I wouldn't bother you all.
>
> Cheers,
> Michael
>





#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Re: can I put a trademark in the subject line of an email?

Clive Bruton

On 3 Feb 2011, at 00:22, Rick Draper wrote:

> Hm... maybe not.  I just tried some test code and it resulted in  
> (tm) and
> (r) being rendered in the subject line.  Might be the best you can do.

This is how Apple Mail does it:

        Subject: =?WINDOWS-1252?Q?Test_=AE_=99?=

Perhaps you can work out how to stuff that into a mail header, or  
don't try to encode the characters at all.


-- Clive

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Re: can I put a trademark in the subject line of an email?

Robert Carpenter
In reply to this post by Michael Benedict
Erg...smells like a big bag of hurt to me, given all of the vagaries  
of e-mail client rendering engines, character sets, and QP encoding  
out there.

Best bet is to probably try something like campaign monitor to  
actually get a look at it in action:

http://www.campaignmonitor.com/testing/

HTH!
-robert-

On Feb 2, 2011, at 2:21 PM, Michael Benedict wrote:

> Not having any luck including a trademark symbol in the subject line  
> of an
> email.
> Is that possible. I tried using this approach.
>
> -Subject=(var: 'Email_Subject',-encodeSmart),
>
> With this &reg; as the symbol in the subject line?
>
> Thanks in advance, I have a cranky customer or I wouldn't bother you  
> all.
>
> Cheers,
> Michael
>
>
> #############################################################
> This message is sent to you because you are subscribed to
>  the mailing list <[hidden email]>.
> To unsubscribe, E-mail to: <[hidden email]>
> To switch to the DIGEST mode, E-mail to <[hidden email]
> >
> To switch to the INDEX mode, E-mail to <[hidden email]
> >
> Send administrative queries to  <[hidden email]>
>


#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Re: can I put a trademark in the subject line of an email?

jasonhuck
Worst case scenario, if you can't pass a properly encoded ™ symbol
reliably, especially to dinosaur email clients like Lotus Notes, I do
often see it expressed in plain ASCII like so:

"Introducing The All New WonderWidget(tm) From WidgetCo!"

Certainly not ideal, but sometimes there's only so much you can do.

- jason

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Re: can I put a trademark in the subject line of an email?

Michael Benedict
Great suggestion, customer is on board. Thanks a million.
Hope all is well with U and the fam in the new year!!

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf
Of Jason Huck
Sent: Thursday, February 03, 2011 4:09 AM
To: [hidden email]
Subject: Re: can I put a trademark in the subject line of an email?

Worst case scenario, if you can't pass a properly encoded T symbol
reliably, especially to dinosaur email clients like Lotus Notes, I do
often see it expressed in plain ASCII like so:

"Introducing The All New WonderWidget(tm) From WidgetCo!"

Certainly not ideal, but sometimes there's only so much you can do.

- jason

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>


#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>

12