Add the encoding parameter to the options of csvfile (#15283)

I assume this ships with v2.1, if it would ship with e.g. v2.0.3.0 let me know.
pull/15581/head
Dag Wieers 8 years ago committed by Brian Coca
parent 783dc2f0f6
commit cf958ca457

@ -135,9 +135,10 @@ appears exactly once in column 0 (the first column, 0-indexed) of the table. All
Field Default Description
---------- ------------ -----------------------------------------------------------------------------------------
file ansible.csv Name of the file to load
delimiter TAB Delimiter used by CSV file. As a special case, tab can be specified as either TAB or \t.
col 1 The column to output, indexed by 0
default empty string return value if the key is not in the csv file
delimiter TAB Delimiter used by CSV file. As a special case, tab can be specified as either TAB or \t.
default empty string Default return value if the key is not in the csv file
encoding utf-8 Encoding (character set) of the used CSV file (added in version 2.1)
========== ============ =========================================================================================
.. note:: The default delimiter is TAB, *not* comma.

Loading…
Cancel
Save