/srv/irclogs.ubuntu.com/2009/07/02/#ubuntu-java.txt

ttxpersia: java team meeting ? I'm late :)10:03
npasquehi to all10:41
npasquei need a way to get an unique id of my system...how can i got it?10:43
maxbnpasque: Depends on your definition of "unique"12:08
npasquemaxb: unique based on my system (os + hardware)...finally i opt for MAC Address13:10
Plexus1hi there15:23
Plexus1got 2 problems...15:24
Plexus1one i dunno if its from java or ubuntu... so I hope this chan can help me15:24
Plexus1im trying to parse so called umlaute (äöü) which are special chars in german from a file15:24
Plexus1but they are just cut out by my application15:25
Plexus1the other thing is regarding eclipse...15:25
Plexus1i debuged the application to see the values of variables but all i got for the values is something like " (id=9)"15:27
Plexus1HARLOW?!?!15:42
Plexus1any1 there?15:42
mhall119|workPlexus1: the umlaute is probably a unicode issue15:47
mhall119|workyou're trying to read it from a file?15:48
Plexus1yes...16:02
Plexus1mhall119|work: strange thing is that in a prior project i had no problems with those umlauten16:03
maxbSounds like a plain Java (not Ubuntu specific) character set issue16:09
maxbWhen you read from the file, how do you do it?16:09
Plexus1BufferedReader rohdaten = new BufferedReader(new FileReader(new File(input)));16:11
maxbPlexus1: java has a concept of a default character encoding. Worst idea ever imo.16:33
maxbDon't use it. Always specify the character encoding that's actually correct16:33
maxbSpecifically use a differnent FileReader constructor16:34
Plexus1other way would be to change the textfiles charset16:34
Plexus1done that now that are not just cut anymore16:45
Plexus1but an ö gets ö16:45

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!