MCPcopy Create free account
hub / github.com/apache/cloudberry / checkWin32Codepage

Function checkWin32Codepage

src/bin/psql/command.c:3644–3659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3642 */
3643#ifdef WIN32
3644static void
3645checkWin32Codepage(void)
3646{
3647 unsigned int wincp,
3648 concp;
3649
3650 wincp = GetACP();
3651 concp = GetConsoleCP();
3652 if (wincp != concp)
3653 {
3654 printf(_("WARNING: Console code page (%u) differs from Windows code page (%u)\n"
3655 " 8-bit characters might not work correctly. See psql reference\n"
3656 " page \"Notes for Windows users\" for details.\n"),
3657 concp, wincp);
3658 }
3659}
3660#endif
3661
3662

Callers 1

connection_warningsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected