Archive for the ‘Java’ 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=-

New Direction - Google App Engine

Friday, October 2nd, 2009

As it often happened in developers life, as soon as you become an expert in something, the life throws you a new project which requires you to learn brand new  languages, platforms, frameworks, technologies, etc… Suddenly your work day routine changes from 80% coding and 20% research to 99% of learning and researching.

Only six month ago I started working with Silverlight. We had some fun playing with new power tool, we’ve built the a series of prototypes… and that was the end of Silverlight journey.

New mission is Google App Engine.  Our language of choice is Java. My experience with Java - none. So far looking at zillions of Java frameworks makes me dizzy. After spending 2 days on learning Struts 2 I’ve realized that the learning curve is expected to be very deep. I’m diving in… - wish me good luck.

-=Oleg=-