fixSystemOutEncoding

Fixes the system output encoding on Windows systems to properly handle UTF-8 characters.

This function attempts to configure the Windows console to use UTF-8 encoding (code page 65001) and sets up the system output streams (System.out and System.err) to use UTF-8 encoding.

Return

true if the encoding was successfully fixed or if no fix was needed (non-Windows systems or no console), false if the operation failed