Name
native2ascii
Synopsis
Converts files with native encoding to ASCII containing escaped Unicode characters.
Attributes
-
defaultexcludes(all, boolean, N) Determines whether to use default excludes. Defaults to
true.-
dest(all, File, Y) The destination directory for output.
-
encoding(all, String, N) The character encoding of the source files. Defaults to the platform default encoding.
-
excludes(all, String, N) A comma-separated list of file patterns to exclude.
-
excludesfile(all, File, N) The name of a file containing one exclude pattern per line.
-
ext(all, String, N) The file extension used for renaming output files. If unspecified, files are not renamed.
-
includes(all, String, N) A comma-separated list of file patterns to include.
-
includesfile(all, File, N) The name of a file containing one include pattern per line.
-
reverse(all, boolean, N) If
true, convert from ASCII to native. Defaults tofalse.-
src(all, File, N) The directory containing files to convert. Defaults to the project base directory.
Content
- 0..n nested
patternsetelements:<exclude>,<include>,<patternset>(all);<excludesfile>,<includesfile>(1.4) Used in place of their corresponding attributes, these specify the set of included and excluded deployment descriptors.
- 0,1 nested
<mapper>elements (1.3, 1.4) Defines how filenames are renamed. If both
<mapper>and theextattribute are specified, themappertakes precedence.mappersare described in Chapter 4.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access