Archive for the ‘GWT’ Category

GWT - Unicode Characters

Wednesday, December 2nd, 2009

Sometimes simple 1 minute tasks make you stop and spend 20 minutes figuring solution out.

I’ve got a request to replace the label “Up” by this arrow “▲” . What could be simpler? I quickly replaced “Up” by “▲” in my Java source code. Then I tried to save my code and got the Eclipse error “Some characters cannot be mapped using “Cp1252″ character encoding”…

The solution is simple. I used a nice online converter http://people.w3.org/rishida/scripts/uniview/conversion.php to get the Unicode code for the arrow character and then pasted it in my Java code like this:

String upArrrow = “\u25B2″;

-=Oleg=-

GWT - best practices

Thursday, October 8th, 2009

GWT tutorials is a good way to learn basics and even to build simple prototypes, but it’s certainly not enough information to start building real life application. That’s why I was so glad to find this video from Google I/O 2009 which describes best practices for architectecting GWT application.

-=Oleg=-