Consider an input string provided by the user, containing at least one character from exactly one writing system (e.g. latin, cyrillic, greek, arabic, hebrew, chinese, japanese, korean...)
Is it possible to detect which writing system was used? Would I have to go through some Unicode decoding and then Unicode pages, or is there some function which does that for me?