Lasso Soft Inc. > Home

[File->SetEncoding]

[File->SetEncoding] sets the character set which will be used to automatically encode data that is read from the file using [File->ReadString] or written to the file using [File->Write].

  • Syntax
  • Parameters
[Var: 'myFile' = (File: 'myfile.txt')]
[$myFile->(SetEncoding: 'iso-8859-1')]
[$myFile->(Write: 'Data')]
[$myFile->(ReadString: 32768)]
Required Parameters
Character Set The character set which should be used to automatically translate strings passed to [File->Write] and read from [File->ReadString].
Examples

See the Lasso 8 Language Guide for examples of how to use this tag.

Tag Link [File->SetEncoding] Category File
Type Member Data Source Any
Support Preferred Version 8.5
Output Type None Security None
Implementation Sets Lasso 8.5

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft