Quantcast
Channel: Classic ASP
Viewing all articles
Browse latest Browse all 488

CStr(CBool(1)) etc. returns local language version of True

$
0
0

I work on a large application that use LCase(CBool(1)) to generate "true" to be used in JavaScript. The problem I am running into is that the following generate local language versions of true.

CStr (CBool(1))

LCase(CBool(1))

UCase(CBool(1))

Still I am using an all US-EN installation of Windows 10 Pro, with everything installed is in english, excecpt for Microsoft Office. Running "cscript test.vbs" where test.vbs  contains "LCase(CBool(1))" outputs true as it should.

I have tried setting LCID to 1033 in many different ways... Please if anyone knows how to effect this, I would appreciate it.

-nets


Viewing all articles
Browse latest Browse all 488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>