mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Try and detect mis-coded Latin1 and convert it to UTF8. Whether the
heuristics succeed or not, the resulting string must be valid UTF8 as LDAP requires that. This is bug 1055.
This commit is contained in:
parent
b8805ca724
commit
00310b1aa8
6 changed files with 120 additions and 8 deletions
|
@ -1,3 +1,7 @@
|
|||
2009-08-11 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* util.h: Add string_to_utf8() from GPA.
|
||||
|
||||
2009-07-21 Werner Koch <wk@g10code.com>
|
||||
|
||||
* estream-printf.h: New. Taken from libestream.x
|
||||
|
|
|
@ -190,7 +190,7 @@ int set_native_charset( const char *newset );
|
|||
const char* get_native_charset(void);
|
||||
char *native_to_utf8( const char *string );
|
||||
char *utf8_to_native( const char *string, size_t length, int delim);
|
||||
int check_utf8_string( const char *string );
|
||||
char *string_to_utf8 (const char *string);
|
||||
|
||||
int ascii_isupper (int c);
|
||||
int ascii_islower (int c);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue