-
I have developed an application that retrieves information from a web API and then displays some of that information. On Linux it correctly displays the flag, but on Windows 10 it displays two characters (e.g. AW) instead. Here is a screenshot of the partial results from running the API query from a browser: Are there any suggestions as to how to resolve this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Tried meta tags to set encoding? |
Beta Was this translation helpful? Give feedback.
-
I believe that I have found an acceptable solution for this issue. I downloaded the NotoColorEmoji_WindowsCompatible.ttf font from https://github.com/googlefonts/noto-emoji and then copied it to the frontend/src/assets/fonts directory. I then modified frontend/src/style.css in accordance with the addition of the new font. Lastly, I added a class to the applicable list item in one of the *.svelte files so that the new font would only apply to it and not the entire application. |
Beta Was this translation helpful? Give feedback.
I believe that I have found an acceptable solution for this issue. I downloaded the NotoColorEmoji_WindowsCompatible.ttf font from https://github.com/googlefonts/noto-emoji and then copied it to the frontend/src/assets/fonts directory. I then modified frontend/src/style.css in accordance with the addition of the new font. Lastly, I added a class to the applicable list item in one of the *.svelte files so that the new font would only apply to it and not the entire application.