Skip to content
Discussion options

You must be logged in to vote

Analysis

Good questions! After analyzing the POCO codebase, here's what I found:

POCO's Internal Unicode Handling

POCO explicitly uses the wide-character (W) Windows APIs throughout its Windows implementations:

  • CreateFileW(), FindFirstFileW(), GetFileAttributesW(), GetModuleFileNameW(), etc.
  • Internally uses UnicodeConverter::toUTF16() to convert UTF-8 strings to UTF-16 for Windows API calls

POCO does not use:

  • TCHAR or the TEXT() / _T() macros
  • Generic function names like CreateFile (which resolve to CreateFileA or CreateFileW based on UNICODE)
  • Any #ifdef UNICODE conditional compilation in the core Foundation code

Answers to Your Questions

1. Is it a strict requirement that POCO be buil…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by matejk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #5037 on December 17, 2025 23:10.