[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVN Win32 Developers -- need some help

From: Norbert Unterberg <nunterberg_at_gmail.com>
Date: 2007-06-05 07:50:57 CEST

2007/6/4, Stefan Küng <tortoisesvn@gmail.com>:

> * it returns an error if in svn_utf_cstring_to_utf8_ex2 the 'frompage'
> param is not APR_DEFAULT_CHARSET or APR_LOCALE_CHARSET (or the
> equivalent svn_utf_cstring_from_utf8_ex2 and 'topage'). That's because I
> don't know of an API which can convert an iconv codepage string into the
> define required by the Windows APIs.

Maybe the MIME database in the registry could help? It maps MIME
enconding names to code page identifiers.

HKEY_CLASSES_ROOT\Mime\Database\Charset

There is also a COM API named "MLang" that deals with this MIME database:
http://msdn2.microsoft.com/en-us/library/aa767865.aspx
but I do not have any experience with that API.

Norbert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 5 07:51:12 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.