User Tools

Site Tools


built_in:read_file

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
built_in:read_file [2015/03/04 17:26]
octazid created
built_in:read_file [2015/10/15 07:54] (current)
Line 7: Line 7:
 The **ReadFile** method reads a text file from internal or external file storage. The **ReadFile** method reads a text file from internal or external file storage.
  
-<code> txt = app.ReadFile( fileName );</code>+<code> txt = app.ReadFile( fileName, encoding );</code>
  
 See also [[built_in:write_file|WriteFile]] See also [[built_in:write_file|WriteFile]]
Line 24: Line 24:
  
 </code> </code>
 +
 +====Options====
 +
 +^ Encoding-options  ^
 +| windows-1252      |
 +| ISO-8859-1 |
 +| US-ASCII |
 +| UTF-16 |
 +| UTF-16BE |
 +| UTF-16LE |
 +| UTF-8 |
 +
 +Information from: Dave Smart group thread "app.CreateWebServer return file" 04:17
built_in/read_file.1425490012.txt.gz ยท Last modified: 2015/03/05 01:26 (external edit)