J
Just4U
Hello,
I take an old post because, nobody seem to answer my problem.
Config: Windows 2003 x64 (US) + sp2
Regional settings : French (for all & default users)
Basically I have the following code on my server
<%
Session.LCID=1033
SetLocale(1033)
Response.Write "<u>America</u><br>"
Response.Write FormatDateTime(now,vbshortDate)&"<br>"
Response.Write FormatNumber(1000.523)&"<br>"
Session.LCID=2057
SetLocale(2057)
Response.wRIte "<u>UK</u><br>"
Response.Write FormatDateTime(now,vbshortDate)&"<br>"
Response.Write FormatNumber(1000.523)&"<br>"
Session.LCID=1036
SetLocale(1036)
Response.wRIte "<u>French</u><br>"
Response.Write FormatDateTime(now,vbshortDate)&"<br>"
Response.Write FormatNumber(1000.523)&"<br>"
Session.LCID=1031
SetLocale(1031)
Response.wRIte "<u>German</u><br>"
Response.Write FormatDateTime(now,vbshortDate)&"<br>"
Response.Write FormatNumber(1000.523)&"<br>"
%>
very simple, all it does is set the session.LCID to four different
locales (US,UK,French, German) when no one if physically logged on to
the webserver in question, it writes out the data/number
format for US in UK format (the machine locale) however it does French
and German in the correct format. If someone is logged on to the machine
it starts to show the US format in the correct format.
So does anyone know why this is happening and if so any solution to the
problem?
Thank you
I take an old post because, nobody seem to answer my problem.
Config: Windows 2003 x64 (US) + sp2
Regional settings : French (for all & default users)
Basically I have the following code on my server
<%
Session.LCID=1033
SetLocale(1033)
Response.Write "<u>America</u><br>"
Response.Write FormatDateTime(now,vbshortDate)&"<br>"
Response.Write FormatNumber(1000.523)&"<br>"
Session.LCID=2057
SetLocale(2057)
Response.wRIte "<u>UK</u><br>"
Response.Write FormatDateTime(now,vbshortDate)&"<br>"
Response.Write FormatNumber(1000.523)&"<br>"
Session.LCID=1036
SetLocale(1036)
Response.wRIte "<u>French</u><br>"
Response.Write FormatDateTime(now,vbshortDate)&"<br>"
Response.Write FormatNumber(1000.523)&"<br>"
Session.LCID=1031
SetLocale(1031)
Response.wRIte "<u>German</u><br>"
Response.Write FormatDateTime(now,vbshortDate)&"<br>"
Response.Write FormatNumber(1000.523)&"<br>"
%>
very simple, all it does is set the session.LCID to four different
locales (US,UK,French, German) when no one if physically logged on to
the webserver in question, it writes out the data/number
format for US in UK format (the machine locale) however it does French
and German in the correct format. If someone is logged on to the machine
it starts to show the US format in the correct format.
So does anyone know why this is happening and if so any solution to the
problem?
Thank you