| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>Header File Index</title> |
| 5 | <link rel="STYLESHEET" type="TEXT/CSS" href="style.css"> |
| 6 | </head> |
| 7 | <body bgcolor="#fffff8"> |
| 8 | <table class="INVTABLE" width="100%"> |
| 9 | <tbody> |
| 10 | <tr> |
| 11 | <td class="NOBORDER" width="40"><img src="info.gif" border="0" |
| 12 | height="32" width="32"> </td> |
| 13 | <td class="TITLE">TiFiles Library API</td> |
| 14 | </tr> |
| 15 | </tbody> |
| 16 | </table> |
| 17 | <hr> |
| 18 | <p>The tifiles library provide a complete API (Application Programming |
| 19 | Interface) which makes use of TI files easy and transparent. <br> |
| 20 | <br> |
| 21 | Functions and data types are grouped in different topics, depending on |
| 22 | their purpose. Click on a topic for the description of all functions |
| 23 | and |
| 24 | data types defined in this topic.<br> |
| 25 | </p> |
| 26 | <p><span |
| 27 | style="text-decoration: underline; font-style: italic; font-weight: bold;">Important |
| 28 | note:</span> due to the fact that TiLP & TiEmu heavily use the GLib |
| 29 | library, the tifiles2 library use the '<span |
| 30 | style="font-style: italic; font-weight: bold;">glib filename encoding</span>' |
| 31 | for filenames.<br> |
| 32 | The 'glib filename encoding' encodes filenames with the following |
| 33 | charsets:<br> |
| 34 | - <span style="font-weight: bold;">UTF-8</span> charset on <span |
| 35 | style="font-weight: bold;">Windows</span>,<br> |
| 36 | - <span style="font-weight: bold;">locale </span>charset on <span |
| 37 | style="font-weight: bold;">Linux </span>(usually UTF-8 but this is <span |
| 38 | style="font-weight: bold;">not </span>always true).<br> |
| 39 | </p> |
| 40 | <p>Please note that UTF-8 does not change encoding of ASCII characters |
| 41 | (0x00-0x7f). For more information, take a look at <<a |
| 42 | href="http://www.unicode.org/charts">http://www.unicode.org/charts</a>> |
| 43 | and <<a href="http://www.czyborra.com/utf">http://www.czyborra.com/utf</a>><br> |
| 44 | </p> |
| 45 | <p><span style="font-style: italic;"></span><span |
| 46 | style="text-decoration: underline; font-style: italic; font-weight: bold;">Important |
| 47 | note 2:</span> due to the new USB hand-helds, the folder & variable |
| 48 | names are not always encoded as 'raw' any longer for now. The tifiles2 |
| 49 | library use the 'Ti-File varname encoding' for varnames (see ticonv |
| 50 | library documentation: the varname can be encoded as raw/TI8x-charset |
| 51 | (TI8x), TI9x-charset |
| 52 | (TI9x) or pseudo UTF-8 (TI84+ USB & Titanium USB)). <br> |
| 53 | </p> |
| 54 | <p>The real string |
| 55 | type depends on the calculator model passed by tifiles_set_tve() and |
| 56 | relies on ticonv conversion |
| 57 | routines to be handled fine (eg to you have to convert it with <a |
| 58 | href="../../../ticonv/docs/html/tokens.c.html#ticonv_varname_to_utf8">ticonv_varname_to_utf8/utf16</a> |
| 59 | before displaying it or <a |
| 60 | href="../../../ticonv/docs/html/filename.c.html#ticonv_varname_to_filename">ticonv_varname_to_filename</a> |
| 61 | to save it). |
| 62 | </p> |
| 63 | <p>==========[ List of entries ]==========<br> |
| 64 | </p> |
| 65 | <b></b> |
| 66 | <h3> <a href="index.html">Return to the main index</a> </h3> |
| 67 | </body> |
| 68 | </html> |