I have a myelement.html file where the templates for my custom element are located. Its contents are similar to the following (just an example):
<polymer-element name = "welcome-box">
<template>
<p> Welcome šašo! </p>
</template>
<script type = "application/dart" src = "welcome-box.dart"> </script>
</polymer-element>
I have a problem with the encoding of this document. Various characters that are not in the English alphabet (for example, "ščžýáíé") do not display properly in my browser (despite the fact that index.html, the file where the previously mentioned polymer element is "imported", already has a meta charset tag .
I solved this problem by adding the meta charset tag in myelement.html
But I think it would be strange to declare a meta-charset again.
, , ?