• Post Reply Bookmark Topic Watch Topic
  • New Topic

Garbled Symbols (send an email with Mathematical Operators)  RSS feed

 
Susan Dunn
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am working on a problem of Garbled Symbols when send a text message from a message box in a Jsp file. The interesting thing is that I received correct symbols in my Yahoo email but not in my GroupWise email. The following is steps that I tried.

1.
From MS Word, select insert --> Symbols --> Font (normal text) and Subset (Mathematical Operators)

≠ not equal to
≤ less than or equal to
≥ greater than or equal to
≈ round

2. Copy and paste above Math operators from Word into a message box of my Jsp page, and send it out from my jsp page into GroupWise email and Yahoo email.


The results shown in my Yahoo email (They look correct)
≠ not equal to
≤ less than or equal to
≥ greater than or equal to
≈ round

However, the results shown in my GroupWise email (They looks NOT correct)

≠ not equal to
≤ less than or equal to
≥ greater than or equal to
≈ round

I tried to use URLEncoder. encode ( ) and URLEncoder.decoder( ) with UFT �8. It doesn�t work.


In source code SendMail.java

I replaced
messageBodyPart.setText( content, "iso-8859-1" );

with
messageBodyPart.setText( content, "UTF-8" );

It doesn�t work either.

Does anybody have any ideas in this problem? Or, this happened because GroupWise does not support the UFT-8 setup when receive email? I can find there is send setup of encoding for UFT-8 in GroupWise, however I could not find any receive setup of encoding for UFT-8 in GroupWise.

I really need help�

Thanks

Sue
 
Paul Clapham
Sheriff
Posts: 22185
38
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you have MS Word, JSP, and some JavaMail in your test plan. I think that's a little bit too complicated, since encoding errors could come in anywhere in the process. So why don't you break the test up into smaller pieces? Start at the JavaMail end: write a stand-alone Java application that includes those characters and sends e-mail messages to those systems. See what happens them.

By the way, your "correct" and "not correct" results look identical to me.
 
Susan Dunn
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I copied garbled symbols from my GroupWise email box and pasted into JavaRanch message box. I guess that why all symbols look correct is because Javaranch's messsage display works like Yahoo email. But GroupWise doesn't.


Now copy grabled symbols from my GroupWise paste into JavaRanch message box one more time to see what will happen.

≠ not equal to
≤ less than or equal to
≥ greater than or equal to
≈ round

Thanks

-Sue
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which character encoding does Yahoo use when it displays the mail? Which one does GroupWise use? Which one is actually used when the message is sent?

Paul is right that you should try to debug this step by step, as a wrong encoding could be used anywhere along the line.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!