QB64.org Forum

Active Forums => Programs => Topic started by: Petr on January 17, 2020, 01:49:25 pm

Title: This is a way to find out your language code without PowerShell
Post by: Petr on January 17, 2020, 01:49:25 pm

For your functions use 4th column:

https://www.science.co.il/language/Locale-codes.php

and this code (windows only)

Code: QB64: [Select]
  1.     FUNCTION GetUserDefaultLCID%
  2.     FUNCTION GetSystemDefaultLangID%
  3.  
  4. PRINT GetUserDefaultLCID%
  5. PRINT GetSystemDefaultLangID%
  6.  

This is the perfect way to set up _MAPUNICODE for your program correctly if you are writing a program in multiple languages.