cultureinfo Questions
1
Solved
I have build a litte asp.net form that searches for something and displays the results. I want to highlight the search string within the search results. Example:
Query: "p"
Results: a<b>p<...
Schoonmaker asked 14/5, 2010 at 15:32
1
Solved
I'm trying to parse a string containing milliseconds like this:
string s = "11.05.2010 15:03:08.7718687"; // culture: de-CH
DateTime d = DateTime.Parse(s); // works
However, for example under ...
Sweatband asked 11/5, 2010 at 13:48
1
We develop an established software which works fine on all known computers except one. The problem is to parse strings that begin with "8". It seems like "8" in the beginning of a string is a reser...
Kisser asked 27/4, 2010 at 9:26
4
Solved
I need a list of cultures that are supported by .NET 3.5, regardless of the OS used.
This seems to be quite a struggle to obtain, though I am not sure why!
Edit: Arghh, I was not aware that it is...
Malevolent asked 17/2, 2010 at 16:28
2
Solved
I have developed a multi-lingual site in ASP.NET, which detects the user's system culture, and displays content in the appropriate language.
This is all working nicely, but my client has since had...
Needless asked 28/1, 2010 at 11:0
3
Solved
I have a C# application which has to run on machines with different culture settings. No problem I thought, it will just lookup on start up what the current culture is on the machine, and do everyt...
Anatase asked 13/11, 2009 at 23:8
3
Solved
I'm running into a case where an ASP.NET application using the built-in globalization facilities is crashing.
On an ASP.NET page with the Culture="auto" directive, a user with a neutral culture a...
Quach asked 21/8, 2009 at 23:32
3
Solved
Does anyone know in ASP.Net how to get the language of the currentculture without it's countryname?
I know this invariant culture's don't have this problem, but I don't know how to create them with...
Premolar asked 1/10, 2009 at 12:12
1
Solved
I have a string, which contains a timestamp (yyyy-mm-dd hh:mm:ss). I can create a CultureInfo object based on other information I get. Therefore I know which country the timestamp is in. The timest...
Bird asked 9/8, 2009 at 21:14
5
Solved
I am using an infragistics webgrid and need to format a currency string. For this I need a string containing a pattern such as "$ ### ###,00" and I would like this to come out of my current Culture...
Trigonometry asked 17/4, 2009 at 7:46
2
Solved
According to MSDN on DateTime.ToString ToString("s") should always return string in the format of the sortable XML Schema style formatting, e.g.: 2008-10-01T17:04:32.0000000
In Reflector I came t...
Worship asked 29/6, 2009 at 12:24
1
Solved
Just out of curiousity...
In our application I list all the available translations in the following format "NativeName - EnglishName". For some languages the NativeName isn't capitalized eg.
"Deu...
Complaisance asked 15/6, 2009 at 8:37
2
Solved
I am getting a CA1305 Warning.
Microsoft.Globalization : Because the
behavior of 'int.Parse(string)' could vary based on the
current user's locale settings,
replace this call in
'_Default.Ca...
Cioffred asked 12/6, 2009 at 2:32
1
Solved
I'm trying to format a currency (Swiss Frank -- de-CH) with a symbol (CHF) that is different that what the default .Net culture is (SFr.). The problem is that the NumberFormat for the culture is Re...
Profiterole asked 4/6, 2009 at 16:37
3
Solved
I have a WCF service running that needs to parse some data. It turns out that data (points, sizes) gets converted differently in different CultureInfo's and the parsing is spread out in a lot of cl...
Charissecharita asked 28/4, 2009 at 10:35
3
Solved
I am looking for a .Net class/library to use with currency acronyms in the same way the TimeZoneInfo class works with timezones.
I need to populate a drop down list with these acronyms and ...
Layette asked 22/4, 2009 at 6:38
9
Solved
In the US, you use a "." as the separator, but in Germany you use a ",". I'm trying to test whether my logic is smart enough to handle either one but I seem to be failing to put my Windows 2000 mac...
Oby asked 4/4, 2009 at 17:24
4
Solved
I've written a asp.net app and one of my postback routines simply saves user submitted form data to a sql 2005 db. All runs great on my development machine but when I deploy to the live site I'm ge...
Building asked 5/3, 2009 at 9:56
7
Solved
I am designing a localized web app. I am leaning on auto-detect browser language setting. But I notice a number of respectable sites asking the user to select a language. Is there any usability iss...
Segregation asked 16/2, 2009 at 7:53
© 2022 - 2024 — McMap. All rights reserved.