On 12/30/10 11:54 AM, Mark Phippard wrote:
On Thu, Dec 30, 2010 at 2:24 PM, Blair Zajac<bl...@orcaware.com>  wrote:
-        client.propertyCreate(itemPath, "cqcq", "qrz", Depth.empty, null,
+        String alphaVal = "qrz";
+        client.propertyCreate(itemPath, "cqcq", alphaVal.getBytes(),
Depth.empty, null,

Do you need to pass "UTF-8" to alphaVal.getBytes?

Don't know.  Do I?  Tests pass.

Looks like all the string conversions were remove, so it's moot.

But typically, one always wants to pass UTF-8 to String's constructor and getBytes() so you don't have different encodings in different locales.

Blair

Reply via email to