ttx | persia: java team meeting ? I'm late :) | 10:03 |
---|---|---|
npasque | hi to all | 10:41 |
npasque | i need a way to get an unique id of my system...how can i got it? | 10:43 |
maxb | npasque: Depends on your definition of "unique" | 12:08 |
npasque | maxb: unique based on my system (os + hardware)...finally i opt for MAC Address | 13:10 |
Plexus1 | hi there | 15:23 |
Plexus1 | got 2 problems... | 15:24 |
Plexus1 | one i dunno if its from java or ubuntu... so I hope this chan can help me | 15:24 |
Plexus1 | im trying to parse so called umlaute (äöü) which are special chars in german from a file | 15:24 |
Plexus1 | but they are just cut out by my application | 15:25 |
Plexus1 | the other thing is regarding eclipse... | 15:25 |
Plexus1 | i debuged the application to see the values of variables but all i got for the values is something like " (id=9)" | 15:27 |
Plexus1 | HARLOW?!?! | 15:42 |
Plexus1 | any1 there? | 15:42 |
mhall119|work | Plexus1: the umlaute is probably a unicode issue | 15:47 |
mhall119|work | you're trying to read it from a file? | 15:48 |
Plexus1 | yes... | 16:02 |
Plexus1 | mhall119|work: strange thing is that in a prior project i had no problems with those umlauten | 16:03 |
maxb | Sounds like a plain Java (not Ubuntu specific) character set issue | 16:09 |
maxb | When you read from the file, how do you do it? | 16:09 |
Plexus1 | BufferedReader rohdaten = new BufferedReader(new FileReader(new File(input))); | 16:11 |
maxb | Plexus1: java has a concept of a default character encoding. Worst idea ever imo. | 16:33 |
maxb | Don't use it. Always specify the character encoding that's actually correct | 16:33 |
maxb | Specifically use a differnent FileReader constructor | 16:34 |
Plexus1 | other way would be to change the textfiles charset | 16:34 |
Plexus1 | done that now that are not just cut anymore | 16:45 |
Plexus1 | but an ö gets ö | 16:45 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!