hi there,
I'm having a problem converting between charsets.
I've written the following function:
Code:
private String convertCharset(String data) {
        
        try {
            byte[] chars = data.getBytes();
            String converted = new String( chars, "Cp850" );
        }
        catch ( UnsupportedEncodingException err) {
            System.err.println(err);
            String converted="";
        }
        return converted;
        
}
it seemed to work fine...*g*until it met german characters.
By now the only one (the only one I noticed) that doesn't get converted correctly is the letter '', which becomes an '?'.
The strange thing is that an '?' stays an '?' so I can't just replace those two...kind of weird...
does anybody know a workaround for this ?