Is there a way to detect the unicode of the character in the html file and apply class to the nearest div/span?
For example, if there is a div containing English (Latin Characters), I want to apply 'en' class to that div. And if there is a div containing Japanese characters, I want apply 'jp' class to that div.
(if there are both then, I guess both classes can be applied).