Tips & tricks
August 25, 2006, 4:40 pm
Filed under: java


Because I live in Brazil, a lot of words has accents , like café, computação or mão. But, some times, characters that differs from the ordinary ASCII make some app and libs crash or not working as usual, and some browsers, some times, can’t show the characters correctly.

And the big guilt are the differences between UTF and ISO8859-1, it’s hard to work using accents when people can choose one charset that is completely strange to the other, if in a language like portuguese, that is a big problem, imagine in a language like Mandarin.

So, one good trip is to avoid accents and anothers strangers characters to ordinary English(ASCII). So:

String name = sun.text.Normalizer.decompose("Hélder Máximo Botter Ribas", false, 0).replaceAll("\\p{InCombiningDiacriticalMarks}+", "")


New home
August 24, 2006, 7:09 pm
Filed under: nerd

Ok folks

I already used jablo (Brazilian javablogs) and blogspot, the blogspot site still continues alive.

For some time, I was listening people saying great thinks about WordPress, and now, using it, I can see how amazing WordPress is.

It looks very impressive, I think that I’ll love it.
Welcome to my new blog.