UTF8 and UTF-8 are also valid but not accepted by any existing utf8 fast paths (#48658, #49884)
Guida contributor
Tech stack
nodejsjavascriptcpp
Dominio
backendperformance
Tipo issue
bug
DifficoltàQuanto dovrebbe essere impegnativa per un nuovo contributor.
4
Tempo stimatoTempo stimato per completare e verificare uno scope piccolo.
1-3 hours
Stato attivitàQuanto è probabile che la issue sia ancora attiva e reviewable.
stale
ChiarezzaQuanto chiaramente la issue descrive problema, scope e risultato atteso.
clear
Prerequisiti
understanding of UTF 8 encodingfamiliarity with Node.js file system internalsbasic C++ debugging skills
Adatta ai principiantiQuanto la issue è adatta a contributor alla prima esperienza.
35
Direzione di ricerca
Investigate the existing utf8 fast paths in Node.js's fs module (likely in lib/internal/fs/utils.js or src/node file.cc). Examine issues #48658 and #49884 for context. Determine where UTF8 and UTF 8 strings are compared and make the comparison case insensitive or add the accepted variants. Ensure consistency with the encoding normalization function. Add tests for the new accepted values.