2 messages in net.java.dev.jna.usersRe: [jna-dev] encoding problem
FromSent OnAttachments
Timothy WallMar 18, 2008 5:27 am 
Timothy WallMar 18, 2008 9:44 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-dev] encoding problemActions...
From:Timothy Wall (twal@dev.java.net)
Date:Mar 18, 2008 5:27:32 am
List:net.java.dev.jna.users

Yes, that will cause Java strings to be converted to native via String.getBytes(System.getProperty("jna.encoding")) and from native via new String(byte[], System.getProperty("jna.encoding")).

This only affects String arguments or structure fields and Native.toString(byte[]).

On Mar 18, 2008, at 7:38 AM, LUCKY LUCKE wrote:

Hello there

In my application i have a card read command. When i run it through command line issuing

C:\>java -Djna.encoding="UTF8" -jar "C:\Documents and Settings\admin \My documents\NetBeansProjects\cardApp\dist\cardApp.jar"

i get ΐ:ϋxϋ. Is this the right way to set the jna.encoding property?

Thanks in advance evsav

Χρησιμοποιείτε Yahoo! Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr