Showing posts with label GWT. Show all posts
Showing posts with label GWT. Show all posts

Wednesday, December 2, 2009

GWT - Unicode Characters

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=-

Thursday, October 8, 2009

GWT - best practices

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=-