hi,
i am trying to download the RSS from this link: rss
this is what i get:
the problem is i get this because of the Hebrew letters.
how can i convert it back to hebrew?
i am using xml2map to convert the string to a map but the problem is that it is not readable.
this is the relevant code:
i tried UTF8 and ASCII but i get the same.
i also tried to decode it as a Base64 string but no luck, any help would be very appreciated.
thanx.
i am trying to download the RSS from this link: rss
this is what i get:
<rss version="2.0"><channel><title>אזהרות והתראות מוקדמות</title><link>https://www.ims.gov.il/he/IMSWarnings</link><description>description</description><language>he</language><lastBuildDate>Tue, 02 Nov 2021 23:25:00 GMT</lastBuildDate><ttl>15</ttl><item><guid isPermaLink="false">Tue, 02 Nov 2021 19:34:00 GMT</guid><title>ים גבוה ומסוכן לרחצה עודכן ב-02/11 21:34</title><link>https://www.ims.gov.il/he/IMSWarnings</link><description><p style='padding-bottom:30px;'> עדכון: אזהרה חמורה על ים גבוה ומסוכן לרחצה בים התיכון מ-02/11 ב-22 עד 03/11 ב-10. מצב הים גלי עד גבה גלים. גובה הגל הסיגניפיקנטי ינוע מ- 120 עד 180 ס"מ, לא צפוי שינוי משמעותי. </p></description><pubDate>Tue, 02 Nov 2021 19:34:00 GMT</pubDate></item></channel></rss>
the problem is i get this because of the Hebrew letters.
how can i convert it back to hebrew?
i am using xml2map to convert the string to a map but the problem is that it is not readable.
this is the relevant code:
B4X:
Dim haifaUrl As String = "https://ims.gov.il/sites/default/files/ims_data/rss/alert/rssAlert_general_country_he.xml"
Dim j As HttpJob
j.Initialize("", Me)
j.Download(haifaUrl)
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
Log(j.GetString2("ASCII"))
End If
j.Release
i tried UTF8 and ASCII but i get the same.
i also tried to decode it as a Base64 string but no luck, any help would be very appreciated.
thanx.