vejnoe / weather-in-your-calendar

Add a calendar with your local weather in your calendar
97 stars 18 forks source link

Some emojis shown as square with x in Android and Linux. #7

Open highroller opened 3 years ago

highroller commented 3 years ago

Great work. But some emojis show as square with x in my Android 6 and Lubuntu. Please fix it. Try to use emojis that are supported by Andorid, iphone and linux. Thanks.

vejnoe commented 3 years ago

Hi @highroller, thanks for reporting this! 👍🏼 It looks like Unicode 7.0 was supported in Android 6.0.1. And according to this list, that should be the version most of the emojis are from.

Event Title Emojis

Your Browser Emoji code API names Unicode
☀️ :sunny: 01d v1.1
:sparkles: 01n v6.0
🌤 :sun_behind_small_cloud: 02d, 02n v7.0
☁️ :cloud: 03d, 03n, 04d, 04n v1.1
🌧 :cloud_with_rain: 09d, 09n v7.0
🌦 :sun_behind_rain_cloud: 10d, 10n v7.0
:cloud_with_lightning_and_rain: 11d, 11n v5.2
🌨 :cloud_with_rain: 13d, 13n v7.0
🌫 :fog: 50d, 50n v7.0
🤔 :thinking: No match v8.0

Describtion Emojis

Your Browser Emoji code
🌅 :sunrise:
⚡️ :zap:
💧 :droplet:
💨 :dash:
🚩 :triangular_flag_on_post:

Can I ask you to check which version of Android 6 you are using? And what version of Linux?

highroller commented 3 years ago

Android 6.0, not 6.0.1. Lubuntu 20.04.1 lts.

vejnoe commented 3 years ago

Okay, then for your Android I would highly recommend upgrading to 6.0.1, since it adds support for Unicode 7.0+8.0.

Regarding Lubuntu I was not able to find any helpful resources on what version you need. But with out Unicode 7.0 you are out of lock, since almost all weather related emojis was added in that release. See the list here

There might be a hack to update the version of Unicode on your devices without updating the hole system, saw one for Android, and since it's mostly the system fonts that need to be updated there should be a chance.

Hope you find this helpfull. Sorry I can't fix the calendar to support lover versions of Unicode.

vejnoe commented 3 years ago

But forgot to mention, that you can of course also clone this repo and just make your own version!

highroller commented 3 years ago

The manufacturer doesn't have any os update for my phone. Is it possible to detect the version of unicode supported and output only text instead of emojis if version is too outdated? Or a setting to toggle text only or emojis for case like this?

Thanks.

vejnoe commented 3 years ago

It's not possible to detect support unfortunately, and it would defeat the purpose a bit with removing the emojis since that the main reason that i build this 🤔... Then I would think it would be better to use the one from WebCal.fi

highroller commented 3 years ago

I would have used webcal.fi if their temperature reading is not so far off, always around 5-10 degrees off from Google weather. I am not sure where they pull their weather source. I already made sure i have correct zipcode.

vejnoe commented 3 years ago

Hmmm, I'll add to the feature request list, and keep it in mind.