For Multilingual Application
-
Hi to all, I want to know, How to convert => A string of "char" into Text or Bytes information coded using (ISO/IEC 8859-x) character sets according to language used for string of "char" ? Language can be any regional or international. Thanks & Regards, Aniket A. Salunkhe
-
Hi to all, I want to know, How to convert => A string of "char" into Text or Bytes information coded using (ISO/IEC 8859-x) character sets according to language used for string of "char" ? Language can be any regional or international. Thanks & Regards, Aniket A. Salunkhe
How about:
Encoding.GetEncoding("iso-8859-1").GetBytes("your-string");
Die Energie der Welt ist konstant. Die Entropie der Welt strebt einem Maximum zu.
-
How about:
Encoding.GetEncoding("iso-8859-1").GetBytes("your-string");
Die Energie der Welt ist konstant. Die Entropie der Welt strebt einem Maximum zu.
Thank you very much for ur help. I will try it. I have to use character code tables ISO/IEC 8859-5 to ISO/IEC 8859-15 & few others (from Annex A.2 of 'Specification for Service Information (SI) in DVB systems' http://www.dvb.org/technology/standards/a038r6.tm1217r17.en300468v1.11.1.pdf[^]. Will it work with it? Is there any way to identify character code table of a given string? Thanks & Regards, Aniket A. Salunkhe
-
Thank you very much for ur help. I will try it. I have to use character code tables ISO/IEC 8859-5 to ISO/IEC 8859-15 & few others (from Annex A.2 of 'Specification for Service Information (SI) in DVB systems' http://www.dvb.org/technology/standards/a038r6.tm1217r17.en300468v1.11.1.pdf[^]. Will it work with it? Is there any way to identify character code table of a given string? Thanks & Regards, Aniket A. Salunkhe
Have no idea, whether it work with DVB systems and don't want to read the specification :p No, there's no built-in mechanism to identify the encoding. But there are some open-source encoding detectors, here are some examples: http://code.google.com/p/ude/[^] http://www.conceptdevelopment.net/Localization/NCharDet/[^]
Die Energie der Welt ist konstant. Die Entropie der Welt strebt einem Maximum zu.
-
Have no idea, whether it work with DVB systems and don't want to read the specification :p No, there's no built-in mechanism to identify the encoding. But there are some open-source encoding detectors, here are some examples: http://code.google.com/p/ude/[^] http://www.conceptdevelopment.net/Localization/NCharDet/[^]
Die Energie der Welt ist konstant. Die Entropie der Welt strebt einem Maximum zu.