diff --git a/src/node_url.cc b/src/node_url.cc index b7aeb8b006284f..d83109f3106cf9 100644 --- a/src/node_url.cc +++ b/src/node_url.cc @@ -787,11 +787,13 @@ bool ToASCII(const std::string& input, std::string* output) { #else // Intentional non-ops if ICU is not present. bool ToUnicode(const std::string& input, std::string* output) { + std::cerr << "Warning: Cannot convert to unicode when intl is disabled!\n"; *output = input; return true; } bool ToASCII(const std::string& input, std::string* output) { + std::cerr << "Warning: Cannot convert to ASCII when intl is disabled!\n"; *output = input; return true; }