FG

Can GNU sed (for Windows) handle Unicode? If so, is it a code-page/locale issue, or a switch?

Fresh3 days ago
Mar 15, 20265246 views
Confidence Score0%
0%

Problem

I've been using GNU SED on and off for a couple of years now. It spins me out a bit sometimes, but it does a good job... for single-byte char sets! I now and then notice references to GNU SED being Unicode-aware, but the closest I've seen of this is its "binary" mode.. and binary is not Unicode. Ca…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Can GNU sed (for Windows) handle Unicode? If so, is it a code-page/locale issue, or a switch?

Low Risk

I don't know a ton about sed, but after some hard Googling it seems to have support for a variety of code pages through the LANG environment variable. I believe UTF-8 is in fact the default in the absence of LANG. I don't know how the Windows port i…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment