[vtk-developers] Non utf-8 character detection
David Gobbi
david.gobbi at gmail.com
Mon Oct 16 23:28:41 EDT 2017
Hi Bill,
Those were utf-8 left & right quotes that I was replacing with straight
ASCII quotes. So I was just searching for non-ASCII chars (with grep) and
then replacing them by hand. (
https://gitlab.kitware.com/vtk/vtk/merge_requests/3442)
The search for non-ASCII chars was done like this:
grep -n "[^ -~]" */*/*.h
The unix "file" command can tell whether a file is utf-8 verses some other
encoding.
- David
On Mon, Oct 16, 2017 at 5:35 PM, Bill Lorensen <bill.lorensen at gmail.com>
wrote:
> David,
>
> You recently removed a bunch of non utf-8 character form VTK code. How
> did you do it?
>
> Bill
>
> --
> Unpaid intern in BillsBasement at noware dot com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20171016/bc71241b/attachment.html>
More information about the vtk-developers
mailing list