Lasso Soft Inc. > Home

[ file->ENCODING ]


The [file->encoding] method returns the character encoding for the file represented by the [file] object.

  • Syntax
local(f) = file(...)
  • Beginner

Display the character set for a file

The code below displays which character set the file '/css/styles.css' is encoded with.


local(styles) = file('/css/style.css')



Recent Comments

No Comments found

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