The moose likes Other JSE/JEE APIs and the fly likes MS-WORD Ellipses in JavaMail Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply Bookmark "MS-WORD Ellipses in JavaMail" Watch "MS-WORD Ellipses in JavaMail" New topic
Author

MS-WORD Ellipses in JavaMail

Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1863
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


1. Have fun @ http://faq.javaranch.com/java/JavaRaq
2. Looking for simple infix2postfix conversion and postfix evaluation package? Click here
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 11862
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.


Java Resources at www.wbrogden.com
 
 
subject: MS-WORD Ellipses in JavaMail
 
Threads others viewed
Anbody....giving!!!
mail web apps with vpopmail ?
anybody got ques. on gridbaglayout in exam
Favorite Movie
JDBC driver (type 4) for sql server 2000
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture