So I recently got an assignment to make the classic "count occurrence of types of chars". This in itself isn't all too new however the requirement was that it would work with any language/encoding. I feel this is almost impossible to do especially since I had 3 days. For example accented characters can get malformed, this is solvable with iso encoding I added this as a radiobutton option. Because you cannot detect this while looping right? I mean you could maybe make a regex that somehow matches those cases idk. Then there is the case of some codepoints being used for multiple/other cases etc etc.
Am I missing something here? .Net has no builtin way to handle this afaik. My idea to read and test every character and make a dictionary for all the missed or malformed. then add radio buttons for all the latin languages etc. I did not have time to finish this. Was the request to make a program to do this for every language just a trick challenge? This was in c#.