Could you please be so kind and help me in the following situation:
I am coding a simple text editor program whichwould convert an UTF-8 text file from one unicode range to another (for example, Devanagari into Latin). I have built a table of character correspondences but I am not sure which method to use on this table. So, the problem is to read the text opened in a child window, change it in accordance with my encoding table and open the result in the second MDI window.
I will be thankful for any advice.
Loading
StigPosted Jul 9, 2009, 7:39 PM
u1234 u2345
u3456 u4567, etc.
Is there any way to use these tables in a C# realisation? I mean, do I have to create a separate class for every table or the Switch case is the best way to treat them?
AaronPosted Jul 8, 2009, 5:26 PM
I would use a "Switch" statement. Heres a example,
This may not be what you want,and would be loads harder,because you would have to have a Switch for every single word like: a - English to spanish
a - English toCzechBut,Hopefully this helps a bit!
(sorry if you were not looking for console)