~ubuntu-branches/ubuntu/jaunty/geany/jaunty

« back to all changes in this revision

Viewing changes to src/encodings.h

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Le Folgoc
  • Date: 2007-02-25 21:12:13 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070225211213-jk4d4vxtgji0rj74
Tags: 0.10.2-0ubuntu1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 *      encodings.h - this file is part of Geany, a fast and lightweight IDE
3
3
 *
4
 
 *      Copyright 2006 Enrico Troeger <enrico.troeger@uvena.de>
 
4
 *      Copyright 2005-2007 Enrico Tröger <enrico.troeger@uvena.de>
 
5
 *      Copyright 2006-2007 Nick Treleaven <nick.treleaven@btinternet.com>
5
6
 *
6
7
 *      This program is free software; you can redistribute it and/or modify
7
8
 *      it under the terms of the GNU General Public License as published by
17
18
 *      along with this program; if not, write to the Free Software
18
19
 *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19
20
 *
20
 
 *  $Id: encodings.h 931 2006-10-25 14:48:07Z eht16 $
 
21
 *  $Id: encodings.h 1270 2007-02-12 18:42:15Z eht16 $
21
22
 */
22
23
 
23
24
 
74
75
gchar *encodings_convert_to_utf8_from_charset(const gchar *buffer, gsize size,
75
76
                                                                                          const gchar *charset, gboolean fast);
76
77
 
 
78
gboolean encodings_is_unicode_charset(const gchar *string);
 
79
 
77
80
 
78
81
/*
79
82
 * The original versions of the following tables are taken from profterm
152
155
        GEANY_ENCODING_WINDOWS_1256,
153
156
        GEANY_ENCODING_WINDOWS_1257,
154
157
        GEANY_ENCODING_WINDOWS_1258,
155
 
        
 
158
 
156
159
        GEANY_ENCODING_NONE,
157
160
 
158
161
        GEANY_ENCODINGS_MAX
161
164
 
162
165
GeanyEncoding encodings[GEANY_ENCODINGS_MAX];
163
166
 
 
167
 
 
168
GeanyEncodingIndex encodings_scan_unicode_bom(const gchar *string, gsize len, guint *bom_len);
 
169
 
164
170
#endif