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.
This commit is contained in:
Dag Wieers 2016-04-25 18:13:06 +02:00 committed by Brian Coca
parent 783dc2f0f6
commit cf958ca457

View file

@ -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.