File out node - fix timing of msg.send to be after close., and...

allow msg.encoding to set encoding if desired.
To close #2921
This commit is contained in:
Dave Conway-Jones
2021-04-12 12:16:23 +01:00
parent 4672d98e8a
commit 023486e175
4 changed files with 39 additions and 20 deletions

View File

@@ -877,6 +877,7 @@
},
"encoding": {
"none": "default",
"setbymsg": "set by msg.encoding",
"native": "Native",
"unicode": "Unicode",
"japanese": "Japanese",

View File

@@ -21,6 +21,8 @@
<dl class="message-properties">
<dt class="optional">filename <span class="property-type">string</span></dt>
<dd>If not configured in the node, this optional property sets the name of the file to be updated.</dd>
<dt class="optional">encoding <span class="property-type">string</span></dt>
<dd>If encoding is configured to be set by msg, then this optional property can set the encoding.</dt>
</dl>
<h3>Output</h3>
<p>On completion of write, input message is sent to output port.</p>