Desktopweather Error

Well, recently I had a chance to play with one of those samurize weather script

and I found interesting thing. Those who are using multi language (for example, non english), realized that when you edit the DesktopWeatherXML file with wordpad

or textpad and after saving it, it won't compile it, but gives a syntax error due to

the unit char changing...

So in order to compile the script right you need to change your language set as

English.....how interesting.......

The one thing that I haven't figured out is how to change weather unit right.....

will include the screen shot, on right you will see samurize unit char changed

sleepy now....gotta take a sack

post-193-1070979347_thumb.jpg

Image2.jpg
Image2.jpg

#87083

That's right.

To correct the temp unit, just go to the line 166 in your editor, try to make it like following, see if it works.

Function getTempUnit()

getTempUnit = boundedString("", "", x30minFile)

#87124

In my opinion it's just the font. Try setting some other font for temperature meter, maybe it'll show correct unit symbol.

#87169

Thank you guys. I resolved the problem by changing font like peter suggested.

After I changed the font and changed encoding on MS word office wella, got correct

symbol.

I also notice that people are having alot of problem with weather xml script, and

I found out most of it is because of script itself or during the encoding error.

If you download 1.3 version of it, and change the font symbol along with your

language version of windows, the problem will be mostly solved....

Well then good luck...

#87428

Glad I could help :P

#87513