There should not be any issue, though if you are hard coding the Unicode string you need to make sure its saved in an encoding compatible with javascript.
If the above does not help, then please modify one of our samples to be a minimal/reproducible example of the issue so we can reproduce.