Comma to semicolon with re-quoting
Input
a,b
"x;y",2Output
a;b
"x;y";2The value containing a semicolon is now the one that needs quoting.
Detected automatically unless you pick one.
Changing a delimiter is not a find-and-replace. Quoting depends on which character is the separator, so values have to be re-evaluated: a value quoted because it contained a comma may need no quotes once semicolons separate fields, and a value containing a semicolon now does.
The usual reason is regional. Excel in European locales expects semicolons, because the comma is the decimal separator there, so a comma-delimited file opens as a single column.
Each example below is executed against this tool by the test suite, so what you see is what the tool actually produces.
Input
a,b
"x;y",2Output
a;b
"x;y";2The value containing a semicolon is now the one that needs quoting.
The details that decide whether a conversion is correct, and where information can be lost without any error being raised.