Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

MS-WORD Ellipses in JavaMail  RSS feed

 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i'm using JavaMail API to send emails. i prepare my messages in a MS-word file (using MS-WORD 2000). the problem is when i have three "dots" like "..." in MS-WORD it converts them to ellipses and so i get "?" as those "..." when i view the email in the email account
is there a solution? well i have a solution for that tho. i put "..." as ". . ." to fool the MS-WORD and it works but is there a way to identify these ellipses?
regards
maulin
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suppose you could use a hex editor to figure out what codes Word is inserting and do a replace operation on the message string. I really hate those MS Word tricks with punctuation, they don't get properly replaced with ASCII when you do a save as text or save as HTML.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!