Merged in mods from ActiveState's basekit code to properly support initialization when built as a shared library. Note that TclKit_SetKitPath should be passed a utf-8 path to ensure the dll can be opened on non-ascii/unicode systems. Extended to set of encodings to match the basekit set which supports many more locales without adding excessive size. Only the asian locales are missing now from the default build.
git-svn-id: svn://svn.equi4.com/kitgen/trunk@4442
9e558909-932a-0410-a563-
af77432da1eb