Questions tagged [regional]
58 questions
124
votes
10 answers
Visual Studio appears to randomly adopt American keyboard layout
Gah! This is really causing me hassle today. Suddenly without warning '@' (at symbol) and '"' (double quote) are trading places on my keyboard but ONLY in Visual Studio 2008!
I can't seem to find anything in help or online to explain/remedy this.…

hollystyles
- 4,979
- 2
- 36
- 38
48
votes
3 answers
WPF StringFormat={0:C} showing as dollars
Why does this line of code
Output the result as $xx.xx when all my regional settings are set to UK. I expect it to output it as £xx.xx. Any ideas? I have tried different variations of the…

Coesy
- 936
- 1
- 10
- 30
32
votes
2 answers
Android Developer Dashboard national/regional version
As many of you may know, Google has provided us with a nice Dashboard that shows us the current distribution of active Android devices along certain characteristics, such as platform version or screen size.
It would be nice to have some similar…

Vincent
- 1,027
- 1
- 11
- 20
13
votes
2 answers
How to get the target domain name of a custom domain for Regional AWS API Gateway in Cloudformation?
I'm trying to create a multi-region serverless application on AWS. I've followed the instructions given here. I'm using Serverless framework, which uses Cloudformation scripts for creating all the resources on AWS.
I want to create a custom domain…

Rahul Bobhate
- 4,892
- 3
- 25
- 48
12
votes
10 answers
Convert string with commas to float
Is there a built-in Delphi function which would convert a string such as '3,232.00' to float? StrToFloat raises an exception because of the comma. Or is the only way to strip out the comma first and then do StrToFloat?
Thanks.

M Schenkel
- 6,294
- 12
- 62
- 107
12
votes
2 answers
Detect whether iPhone is displaying time in 12-Hour or 24-Hour Mode?
How can you detect whether iPhone is displaying time in 12-Hour or 24-Hour Mode?
I currently monitor the current region for changes, however that's not the only setting that affects how times are displayed. The 24-hour toggle in the date & time…

Michael Waterfall
- 20,497
- 27
- 111
- 168
12
votes
2 answers
Does DateTime.ToString("s") return always same format?
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 to this pattern inside DateTimeFormatInfo.
public…

Peter Gfader
- 7,673
- 8
- 55
- 56
10
votes
2 answers
Accessing "Measurement System" unit names (kg/lb, m/in, etc) in C#
Windows allows configuration of Measurement system to Metric or U.S. Is there a way to use this setting to read (abbreviated) unit names in C#?
e.g. when displaying a weight in Metric I want to show kg but in U.S. I want to show lb. Similarly for…

WileCau
- 2,057
- 1
- 24
- 34
9
votes
2 answers
Is it possible to create a keyboard layout that is identical to the keyboard used?
If I need to generate a keyboard layout for customization to the user that looks like his/her keyboard, how can I do it?
For instance something like this:
French, Swedish, English, Canadian, etc will have different layouts, right. Is this a lot of…

Joan Venge
- 315,713
- 212
- 479
- 689
9
votes
5 answers
Detecting regional settings (List Separator) from web
After having the unpleasant surprise that Comma Seperated Value (CSV) files are not necessarily comma-separated, I'm trying to find out if there is any way to detect what the regional settings list separator value is on the client machine from http…

Toms Mikoss
- 9,097
- 10
- 29
- 41
8
votes
7 answers
How to read 'List separator' from OS in Java?
I am writing a CSV exporter in Java that should respect the user's custom settings, especially the "List separator" to use as a delimiter.
In Windows, one can set this List separator in
Control Panel -> Regional and Language Options -> Regional…

Simon07
- 304
- 1
- 3
- 9
7
votes
1 answer
A python regex that matches the regional indicator character class
I am using python 2.7.10 on a Mac.
Flags in emoji are indicated by a pair of Regional Indicator Symbols. I would like to write a python regex to insert spaces between a string of emoji flags.
For example, this string is two Brazilian…

John Rauser
- 173
- 6
7
votes
5 answers
How do you change your apparent country of origin to test a site?
I want to be able to set my country of origin - does this involve testing through a proxy, or is there something that can be set else where?

user15420
- 1,022
- 1
- 10
- 11
5
votes
2 answers
What's the best way to push kafka messages from my edge nodes?
I have a worker in the primary region (US-East) that computes data on traffic at our edge locations. I want to push the data from an edge region to our primary kafka region.
An example is Poland, Australia, US-West. I want to push all these stats…

Styles
- 515
- 2
- 6
- 16
5
votes
1 answer
Date format broken in .net 4.0 for uk format
I'm in the process of converting a couple of sites up to .net 4.0 and I seem to have a problem with regionalisaion of dates.
This code:
Date.Today.AddDays((Date.Today.DayOfWeek - 1) * -1).ToString()
In .net 3.5 produces: '19/04/2010 00:00:00'
but…

Chris Foot
- 343
- 1
- 5
- 17