It is currently March 29th, 2024, 2:36 am
moxaweather give ?? symbols..
-
- Posts: 2
- Joined: July 16th, 2010, 5:11 pm
moxaweather give ?? symbols..
new rainmeter user here..after i install everything and i found out the world and moxaweather in enigma skin give ?? and "? symbols..i try change the unit either in celsius or fahrenheit still the same..
You do not have the required permissions to view the files attached to this post.
-
- Posts: 77
- Joined: April 7th, 2010, 2:34 pm
Re: moxaweather give ?? symbols..
A few users from Malaysia and the area have reported about this problem in my weather skin page on DA. so I would like to know if there is a solution as well.
-
- Posts: 15
- Joined: June 19th, 2010, 3:13 am
Re: moxaweather give ?? symbols..
I guess you could add a substitution to the meters, so it replaces the " with ° and the ? with C.
Substitute="?":"C"
The only problem is that I don't know how you can substitute a quote. Good luck.
Substitute="?":"C"
The only problem is that I don't know how you can substitute a quote. Good luck.
-
- Posts: 509
- Joined: April 24th, 2009, 3:17 pm
- Location: Bucharest, Romania Lat 44,43° Lon 26,1°
Re: moxaweather give ?? symbols..
you can not substitute a quoteReflex wrote:I guess you could add a substitution to the meters, so it replaces the " with ° and the ? with C.
Substitute="?":"C"
The only problem is that I don't know how you can substitute a quote. Good luck.
but you can modify the sting index parse for temp
Zero at programing, zero at writing codes, so far 2 at making images
But I'm good at copy/paste, and I not always like this
But I'm good at copy/paste, and I not always like this
-
- Posts: 77
- Joined: April 7th, 2010, 2:34 pm
Re: moxaweather give ?? symbols..
This problem looks like the same issue as with my weather skin (and probably every weather.com/yahoo based skin). it affects only users in Malaysia and Singapore like the OP. for everyone else it shows the "C" or "F" just fine...
-
- Posts: 2
- Joined: July 16th, 2010, 5:11 pm
Re: moxaweather give ?? symbols..
so how im going to solve tis problem dude..
tis my code.
tis my code.
Code: Select all
;------------------------------------------------------------------------------------------------
; ENIGMA MOXAWEATHER (3 DAYS)
; Class: Icon
[Rainmeter]
Author=Kaelri.LCD@gmail.com
AppVersion=1001000
Update=1000
MiddleMouseDownAction=!RainmeterActivateConfig #CURRENTCONFIG# MoxaWeather-3Days-Horizontal.ini
MouseOverAction=!Execute [!RainmeterShowMeter Logo][!RainmeterHideMeter Temp][!RainmeterHideMeter Temp2][!RainmeterHideMeter Temp3][!RainmeterShowMeter TempActive][!RainmeterShowMeter Temp2Active][!RainmeterShowMeter Temp3Active][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter Logo][!RainmeterShowMeter Temp][!RainmeterShowMeter Temp2][!RainmeterShowMeter Temp3][!RainmeterHideMeter TempActive][!RainmeterHideMeter Temp2Active][!RainmeterHideMeter Temp3Active][!RainmeterRedraw]
[Metadata]
Name=Enigma MoxaWeather | 3 Days (Vertical)
Config=Enigma | Taskbar | MoxaWeather
Description=Shows your current and forecast weather conditions.
Instructions=Set your Weather Code to show your location. | Change the units from metric to Fahrenheit using the variable "Unit". | Look up Yahoo! Weather codes at (http://weather.yahoo.com).
Version=2.7
Tags=Taskbar | Yahoo! Weather
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Preview=#SKINSPATH#Enigma\Resources\Images\Preview.png
Credits=This skin has been adapted from the original MoxaWeather by moxamax.
Variant=1
[Variables]
@include=#SKINSPATH#Enigma\Resources\Variables\DefaultVariables.inc
;------------------------------------------------------------------------------------------------
; MEASURES
[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1800
Url=http://weather.yahooapis.com/forecastrss?p=MYXX0006&u=c
RegExp=(?siU)<link.*>(.*)</link>.*city=\"(.*)\".*sunrise=\"(.*)\".*sunset=\"(.*)\".*<image>.*<url>(.*)</url>.*<title>.*:.*m .*(.*)</title>.*lat>(.*)<.*long>(.*)<.*yweather:condition.*text=\"(.*)\".*code=\"(.*)\".*temp=\"(.*)\".*yweather:forecast.*day=\"(.*)\".*high=\"(.*)\".*code=\"(.*)\".*yweather:forecast.*day=\"(.*)\".*high=\"(.*)\".*code=\"(.*)\".*
StringIndex=1
;--------------------------------
; CURRENT
[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=9
[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=10
[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=11
;-------------------------
; DAY 2
[MeasureWeatherDate2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=12
Substitute="Sun":"Sunday","Mon":"Monday","Tue":"Tuesday","Wed":"Wednesday","Thurs":"Thursday","Fri":"Friday","Sat":"Saturday"
[MeasureWeatherTemp2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=13
[MeasureWeatherIcon2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=14
;-------------------------
; DAY 3
[MeasureWeatherDate3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=15
Substitute="Sun":"Sunday","Mon":"Monday","Tue":"Tuesday","Wed":"Wednesday","Thurs":"Thursday","Fri":"Friday","Sat":"Saturday"
[MeasureWeatherTemp3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=16
[MeasureWeatherIcon3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=17
;-------------------------
; IMAGE PATH MODIFIERS
[MeasureWeatherIconMod]
Measure=CALC
Formula=8800000 + (MeasureWeatherIcon*1000) + 99
Substitute="88":"#SKINSPATH#Enigma\Resources\Images\Moxaweather\","099":".#ColorIcon#.png"
[MeasureWeatherIconMod2]
Measure=CALC
Formula=8800000 + (MeasureWeatherIcon2*1000) + 99
Substitute="88":"#SKINSPATH#Enigma\Resources\Images\Moxaweather\","099":".#ColorIcon#.png"
[MeasureWeatherIconMod3]
Measure=CALC
Formula=8800000 + (MeasureWeatherIcon3*1000) + 99
Substitute="88":"#SKINSPATH#Enigma\Resources\Images\Moxaweather\","099":".#ColorIcon#.png"
;------------------------------------------------------------------------------------------------
; METERS
[Background]
Meter=IMAGE
SolidColor=0,0,0,2
W=170
H=147
[Temp]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=130
Y=3
FontColor=#Color1#
StringStyle=NORMAL
FontSize=#Height1#
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
AntiAlias=1
Postfix="?
[TempActive]
Meter=STRING
MeterStyle=Temp
MeasureName=MeasureWeatherTemp
FontColor=#ColorActive#
LeftMouseDownAction=!Execute [[MeasureWeatherRSS]][!RainmeterRedraw]
Hidden=1
[Desc]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=121
Y=15r
FontColor=#Color2#
FontSize=#Height2#
StringAlign=RIGHT
StringStyle=NORMAL
FontFace=#Font#
AntiAlias=1
[Icon]
MeasureName=MeasureWeatherIconMod
Meter=IMAGE
X=125
Y=0
W=45
H=33
[Logo]
ImageName=#SKINSPATH#Enigma\Resources\Images\MoxaWeather\Logo.png
Meter=IMAGE
X=7r
Y=r
H=40
W=40
Hidden=1
LeftMouseDownAction=!Execute ["http://weather.yahoo.com/"][!RainmeterRedraw]
;-----------------------
; DAY 2
[Temp2]
MeasureName=MeasureWeatherTemp2
Meter=STRING
X=130
Y=43
FontColor=#Color3#
StringStyle=NORMAL
FontSize=#Height1#
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
AntiAlias=1
Postfix="?
[Temp2Active]
Meter=STRING
MeterStyle=Temp2
FontColor=#ColorActive#
LeftMouseDownAction=[[MeasureWeatherRSS]][!RainmeterRedraw]
Hidden=1
[Date2]
MeasureName=MeasureWeatherDate2
Meter=STRING
X=121
Y=57
FontColor=#Color3#
FontSize=#Height2#
StringAlign=RIGHT
StringStyle=NORMAL
FontFace=#Font#
AntiAlias=1
[Icon2]
MeasureName=MeasureWeatherIconMod2
Meter=IMAGE
X=125
Y=40
W=45
H=33
;-----------------------
; DAY 3
[Temp3]
MeasureName=MeasureWeatherTemp3
Meter=STRING
MeterStyle=Temp2
Y=83
[Temp3Active]
MeasureName=MeasureWeatherTemp3
Meter=STRING
MeterStyle=Temp2
Y=83
FontColor=#ColorActive#
LeftMouseDownAction=[[MeasureWeatherRSS]][!RainmeterRedraw]
Hidden=1
[Date3]
MeasureName=MeasureWeatherDate3
Meter=STRING
MeterStyle=Date2
Y=97
Text="%1"
[Icon3]
MeasureName=MeasureWeatherIconMod3
Meter=IMAGE
MeterStyle=Icon2
Y=80
Last edited by jsmorley on July 17th, 2010, 2:29 am, edited 1 time in total.
Reason: Edited to use [code][/code] for code display
Reason: Edited to use [code][/code] for code display
-
- Posts: 509
- Joined: April 24th, 2009, 3:17 pm
- Location: Bucharest, Romania Lat 44,43° Lon 26,1°
Re: moxaweather give ?? symbols..
maybe by adding CodePage to the main feed
http://forum.rainmeter.net/viewtopic.php?f=5&t=2206&p=15958&hilit=foreign+characters#p15949
http://forum.rainmeter.net/viewtopic.php?f=5&t=2206&p=15958&hilit=foreign+characters#p15949
Zero at programing, zero at writing codes, so far 2 at making images
But I'm good at copy/paste, and I not always like this
But I'm good at copy/paste, and I not always like this