File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Problems with �. �, � Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Problems with �. �, � " Watch "Problems with �. �, � " New topic
Author

Problems with �. �, �

age spets
Ranch Hand

Joined: Aug 07, 2002
Posts: 68
Hi!
Have a problem with my javaProgram that takes use of different Mail jar files. The program is working now, so it sends email to whom I want to, but the problem is that it can not solve the problem with the norwegian encoding. Do anyone know how I may change this? Because now the String is translated so pr�ver comes out like pr=F8ver and it seems like the SMTP server gives an error message on that.
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
aspets
Welcome to the Java Ranch, we hope you�ll enjoy visiting as a regular however,
your name is not in keeping with our naming policy here at the ranch. Please change your display name to an appropriate name as shown in the policy.
Thanks again and we hope to see you around the ranch!!


Dave
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

When using Javamail you can do it like this:

Rene
[ August 07, 2002: Message edited by: Rene Larsen ]

Regards, Rene Larsen
Dropbox Invite
age spets
Ranch Hand

Joined: Aug 07, 2002
Posts: 68
Just testing reply. thx alot. This helps.. For those that want to send html and UTF at the same time use:
messageBodyPart.setContent(messageBody,"text/html; charset=UTF-8");
Yours Age

Originally posted by Rene Larsen:
When using Javamail you can do it like this:

Rene
[ August 07, 2002: Message edited by: Rene Larsen ]
 
wood burning stoves
 
subject: Problems with �. �, �
 
Similar Threads
we ask for user input in c by writing & (ampersand) but how to achieve this in java ?
I want to do a simple thing with JSP
Spring Certification
zipping files: problems with german umlauts in filename
Problem with Runtime.exec()