[vlc-commits] lua: document vlc.strings.from_charset() error value

Pierre Ynard git at videolan.org
Sun Nov 13 02:55:18 CET 2016


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Sun Nov 13 02:54:43 2016 +0100| [dba282d09cd81420c517124876a025645925ec13] | committer: Pierre Ynard

lua: document vlc.strings.from_charset() error value

Ref #4815

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dba282d09cd81420c517124876a025645925ec13
---

 share/lua/README.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/lua/README.txt b/share/lua/README.txt
index d3e8c66..5562aa0 100644
--- a/share/lua/README.txt
+++ b/share/lua/README.txt
@@ -383,7 +383,7 @@ strings.resolve_xml_special_chars( [str1, [str2, [...]]] ): Resolve XML
 strings.convert_xml_special_chars( [str1, [str2, [...]]] ): Do the inverse
   operation.
 strings.from_charset( charset, str ): convert a string from a specified
-  character encoding into UTF-8.
+  character encoding into UTF-8; return an empty string on error.
 
 Variables
 ---------



More information about the vlc-commits mailing list