src/eric7/Documentation/Source/eric7.Utilities.__init__.html

branch
eric7
changeset 10784
521fd465b048
parent 10692
9becf9ca115c
child 10928
46651e194fbe
--- a/src/eric7/Documentation/Source/eric7.Utilities.__init__.html	Fri Jun 14 11:18:10 2024 +0200
+++ b/src/eric7/Documentation/Source/eric7.Utilities.__init__.html	Fri Jun 14 11:23:45 2024 +0200
@@ -58,6 +58,10 @@
 <td>Function to decode a string containing Unicode encoded characters.</td>
 </tr>
 <tr>
+<td><a href="#decodeWithEncoding">decodeWithEncoding</a></td>
+<td>Function to decode some byte text into a string.</td>
+</tr>
+<tr>
 <td><a href="#encode">encode</a></td>
 <td>Function to encode text into a byte text.</td>
 </tr>
@@ -490,6 +494,39 @@
 <div align="right"><a href="#top">Up</a></div>
 <hr />
 <hr />
+<a NAME="decodeWithEncoding" ID="decodeWithEncoding"></a>
+<h2>decodeWithEncoding</h2>
+<b>decodeWithEncoding</b>(<i>text, encoding</i>)
+<p>
+    Function to decode some byte text into a string.
+</p>
+
+<dl>
+
+<dt><i>text</i> (bytes)</dt>
+<dd>
+byte text to decode
+</dd>
+<dt><i>encoding</i> (str)</dt>
+<dd>
+encoding to be used to read the file
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+tuple of decoded text and encoding
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+tuple of (str, str)
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+<hr />
 <a NAME="encode" ID="encode"></a>
 <h2>encode</h2>
 <b>encode</b>(<i>text, origEncoding, forcedEncoding=""</i>)

eric ide

mercurial