Next.js 16 regression: non-Latin-1 route group/segment names crash with InvalidCharacterError due to btoa in segment-value-encoding
In Next.js 16, route groups or segments with non-ASCII names (e.g. (안녕), (日本), (café), emoji) cause dev server 500, build failure, and prerender error because encodeToFilesystemAndURLSafeString calls btoa directly on the raw Unicode string, which only accepts Latin-1 characters. The segment cache is enabled by default in Next 16, so every such segment hits this path. A UTF-8 safe encoding is required.
