473,324 Members | 2,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Any way to programmatically get a list of all language encodings?

MJB
I want to provide a way for the user to select the appropriate language
encoding - the way IE does it when you right-click a page and select
Endcoding. Is there an API somewhere that provides this information?

Btw, I'm using C#, but VBNET examps are always welcome.

TIA
Nov 21 '05 #1
2 1589
Hi MJB,

Look at CultureInfo's GetCultures static method.
--
HTH
Stoitcho Goutsev (100) [C# MVP]
"MJB" <mb*@email.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I want to provide a way for the user to select the appropriate language
encoding - the way IE does it when you right-click a page and select
Endcoding. Is there an API somewhere that provides this information?

Btw, I'm using C#, but VBNET examps are always welcome.

TIA

Nov 21 '05 #2
MJB
Great thanks, I think this is what I was looking for.
"Stoitcho Goutsev (100) [C# MVP]" <10*@100.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi MJB,

Look at CultureInfo's GetCultures static method.
--
HTH
Stoitcho Goutsev (100) [C# MVP]
"MJB" <mb*@email.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I want to provide a way for the user to select the appropriate language
encoding - the way IE does it when you right-click a page and select
Endcoding. Is there an API somewhere that provides this information?

Btw, I'm using C#, but VBNET examps are always welcome.

TIA


Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Posadas, Dennis | last post by:
Hi, Once you load the necessary language encoder into lib/encodings, is that all there is to using it ? I loaded the encoder eucgb2312_cn.py and pyc into lib/encodings but am still getting the...
27
by: John Roth | last post by:
PEP 263 is marked finished in the PEP index, however I haven't seen the specified Phase 2 in the list of changes for 2.4 which is when I expected it. Did phase 2 get cancelled, or is it just not...
3
by: Kieran Green | last post by:
Greetings, We are building an application written for Windows in C++ which uses OLEDB to connect to AIX DB2 8.2. Our app stores all string data in the wchar_t datatype, which generates dynamic...
1
by: John Criswell | last post by:
I have created a radio button list programmatically. C# SqlConnection conn = new SqlConnection("data source=localhost; integrated security=true; initial catalog=pubs"); SqlCommand cmdAuthors =...
4
by: Shaul Feldman | last post by:
Hello, I have something really awkward at work - fighting with CheckBoxList... How can I define CSS for ListItem in CheckBoxList programmatically. I add CheckBoxList's Items on the fly, something...
10
by: Zamdrist | last post by:
http://www.treas.gov/offices/enforcement/ofac/sdn/ I wonder if it my be conceivable/practical to import on a regular basis, hands-off, the XML version of this list directly from it's source, the...
2
by: ChrisCicc | last post by:
Hi All, I got a real doozy here. I have read hundreds upon hundreds of forum posts and found numerous others who have replicated this problem, but have yet to find a solution. Through testing I have...
13
by: mario | last post by:
Hello! i stumbled on this situation, that is if I decode some string, below just the empty string, using the mcbs encoding, it succeeds, but if I try to encode it back with the same encoding it...
7
by: clinisbut | last post by:
Hi I'm trying to write an app and don't know how to start. I'll have a selector with a list of true type fonts. Each font will represent a different set of chars. Example *arial-font...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.