use getBytes("UTF-8"); instead of getBytes();

Description

_createVCardFromXml in org.jivesoftware.smackx.provider.VCardProvider seems to have a bug, depending on the local charset.
It may be much more safe to use UTF-8 to encode the supplied string.

There are some other lines of code where getBytes() is used, they may also cause trouble.

The Wildfire code should also be reviewed for similar lines of code.

Environment

None

Activity

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created July 16, 2006 at 10:45 PM
Updated February 20, 2010 at 12:08 AM
Resolved July 18, 2006 at 12:17 AM