Changeset 144444 for trunk/doc-new


Ignore:
Timestamp:
Jan 9, 2016, 12:16:37 AM (3 years ago)
Author:
dstrubbe@…
Message:

doc-new: Fix and further clarifications on -locale for reinplace.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc-new/guide/xml/portfile-tcl.xml

    r144426 r144444  
    276276              specified.</para>
    277277
    278               <para>Use -locale to set the locale. For example, <code>locale -C</code>
    279               if a non-ASCII file is being modified (which may otherwise give the error
    280               "sed: RE error: illegal byte sequence").</para>
     278              <para>Use -locale to set the locale. The default locale is <code>en_US.UTF-8</code>.
     279              For example, <code>-locale C</code> will allow a non-UTF-8 file to be modified (which
     280              may otherwise give the error "sed: RE error: illegal byte sequence"), but only operating
     281              on ASCII characters. If you need it to work on non-ASCII characters you need to set a
     282              locale with the correct charset for the file, e.g. "en_US.ISO8859-1".</para>
    281283
    282284              <para>-n is passed to sed to suppress echoing result</para>
Note: See TracChangeset for help on using the changeset viewer.