|
They're not generated. The .NET framework (and other frameworks such as the JDK) use Unicode encodings to map characters in different scripts to byte values. Unicode and ASCII reference tables are of course available online.
Hope this helps.
/ravi
|
|
|
|
|
Ok understood. But "where exactly" (location) are these mapping done in the environment. All I am asking for is a path or file name.
|
|
|
|
|
They are done in read-only sections of code and aren't configurable (i.e. read from a file or the registry). It's the same with timezone definitions, calendar types and locales.
/ravi
|
|
|
|
|
There's no "editor", there's no "file" where the mappings are loaded from.
|
|
|
|
|
I would suppose
System.Text.ASCIIEncoding
In mscorlib (in mscorlib.dll)
|
|
|
|
|
Jschell,
Thank you very much for the help. I am very curious how you went about finding this file. Can you please explain your methodology?
Thanks again.
|
|
|
|
|
computerpublic wrote: Can you please explain your methodology?
I already knew about encoders and the ASCII one.
And if you look up the encoder in the MS docs it tells you which dll contains the classes. It says that right at the top and looks like the following
Assembly: mscorlib (in mscorlib.dll)
|
|
|
|
|
Thank you. I really appreciate your help in this matter.
|
|
|
|
|
That's like asking, "where are the integers stored?", as if there's some table that contains the complete set of integers. There is no such thing. It's a meaningless question.
My best guess would be that you want to know where to find typeface (font) files that allow the system to generate a particular glyph on the screen for a given ASCII code (or Unicode codepoint).
Some code pages are built into the system, but you may also want to look at dir %SystemRoot%\fonts .
|
|
|
|
|
PIEBALDconsult wrote: That's like asking, "where are the integers stored?", as if there's some table that contains the complete set of integers. There is no such thing. It's a meaningless question.
The analogy is not apt.
Although ASCII is a rather trivial character set one can suppose that one might handle it like more complex character sets. Certainly since the memory considerations for the entire code page are trivial it certainly would be better unless one found that performance was better without it.
|
|
|
|
|
My point is that ASCII is really just a set of integers and not very useful without context.
|
|
|
|
|
I've a little project to organize my Library but I'm struggling to create a folder with a bunch of playlists within it. I've stripped it right down to the bare bones for here. I know that I can do this:
iTunesApp myTunes = new iTunesApp();
iTunesLib.IITPlaylist test1 = myTunes.CreateFolderInSource("test1", myTunes.LibrarySource); or this
iTunesLib.IITPlaylist test2= myTunes.CreateFolder("test2");
and I can see that I have two options to add a playlist:
iTunesLib.IITPlaylist tempPlaylist = default(iTunesLib.IITPlaylist);
tempPlaylist = myTunes.CreatePlaylist("testP1"); or
tempPlaylist = myTunes.CreatePlaylistInSource("testP2",myTunes.LibrarySource);
but all I end up with is a an empty folder and a playlist sat in the main Library (ie in the section headed 'PLAYLISTS'). Has anyone got any suggestions please? It's not really C# specific but as I'm writing it in C#, and as it's one of the larger discussion areas, I thought I'd post it here
|
|
|
|
|
there are a grid view and sqldata sourceid in my code defined previously.
can i use it for any sql query? or i have to create some another???
|
|
|
|
|
it all depends on your needs ....
for example:
If you have a query like this in your SqldDataSource to display the data to the Gridview :
select * from TableMasterCity then you can use it to Bind dropdownlist or other control.
it all depends on the manufacture of the SQL query that you created and the need for its control.
|
|
|
|
|
i need to call like
select * from temp c1,c2,c3 where c1='17/nov/2011'
is there any restriction to use specific data type??means when we create a grid view or sql data id we have to define data type of columns or not?
|
|
|
|
|
I think,if you want show all colums in GridView,
you can define columns or not..both it's yes can...
If you dont want define columns in gridview,you can set Autogeneratecolumns=true in Properties Gridview ,and result will show data column c1,c2,c3..
If you set Autogeneratecolumns=false,you must define columns in gridview..
|
|
|
|
|
if for Gridview and SqlDataSource, I guess you do not need to define its data type colum can, ...
|
|
|
|
|
|
i am trying to design a circular track bar as like media player but instead of media player track bar it would rotate bar(clockwise as well as anticlockwise)and calculate the angle (i.e. how much degree rotated)and display that angle in text box.so, how can i do this in .net???????????????
|
|
|
|
|
|
Hi everyone
I gonna use of this this code but it does'nt work
SecureString securePwd = new SecureString();
Process.Start("Notepad.exe", "TEST", securePwd, "WORKGROUP");
I fill this code with my username(TEST) and I dont use of password in my computer for the last parameter Im using of WORKGROUP for domain
but it donest work it shows "Logon failure: unknown user name or bad password"
|
|
|
|
|
messages wrote: "Logon failure: unknown user name or bad password"
I would check to make sure the username or password is correct for the work group
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
|
|
|
|
|
|
have you tried to run Notepad like this
process.start("Notepad.exe");
does that work?
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
|
|
|
|
|
yes it works and also it works like this process.start("Notepad.exe","c:\\text.txt");
|
|
|
|