當前位置:編程學習大全網 - 網站源碼 - 在c或c++中用什麽函數 能識別當前系統的文字編碼方式 (如GBK,GB2312,BIG5)呢?

在c或c++中用什麽函數 能識別當前系統的文字編碼方式 (如GBK,GB2312,BIG5)呢?

getLocale

public int getLocale();

Retrieves the current locale.

Return Value:

Returns the current locale. Currently, this methods returns 0.

可以得到當前的語言設定

  • 上一篇:友盟推送和極光推送哪個好
  • 下一篇:抖音直播怎麽找遊戲分類
  • copyright 2024編程學習大全網