Gary Strawn has a little characterize character set program which helps you figure out what character set is used in a marc file.
http://www.library.northwestern.edu/public
Hope this helps
-----Original Message-----
From: MarcEdit support in technical and instructional matters [mailto:[log in to unmask]] On Behalf Of Shana L. McDanold
Sent: Tuesday, September 14, 2010 2:23 PM
To: [log in to unmask]
Subject: character conversion "unhandled exception" error
I'm trying to do some character clean up on a particular set and am
having some issues. Partially because I have no idea what character set
this vendor used (any way to find out short of asking the vendor?) and
partially because I'm getting an error.
I tried to run the set through the character conversion process,
converting UTF8 to UTF8, to see if that cleaned anything up or could
help identify if all the records were an issue or just a few. What I got
was a utilities dialog telling me there's an "unhandled exception" and
that "1 is not a supported code page" followed by "Parameter name:
codepage".
I have the details of the message pasted below.
Any help is appreciated. The process did work when I said to convert
MARC8 to MARC8. From what I can tell the character set is neither MARC8
nor UTF8, if that makes a difference.
Thanks,
-Shana
Utilities Dialog Details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentException: 1 is not a supported code page.
Parameter name: codepage
at System.Text.Encoding.GetEncoding(Int32 codepage)
at frmUtilities.ConvertCustomEncoding(String& sSource, Int32 codepage)
at frmUtilities.pMARC82UTF8(String s, String d, Int32 codepage,
Int32 destcodepage)
at frmUtilities.cmdOK_Click_1(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.WndProc(Message& m)
at
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32
msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase:
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MarcEdit
Assembly Version: 5.2.3895.12584
Win32 Version: 5.2.3895.12584
CodeBase: file:///C:/Program%20Files/MarcEdit%205.0/MarcEdit.exe
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
mengine60
Assembly Version: 1.6.4.0
Win32 Version: 1.6.4.0
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/mengine60/1.6.4.0__c1bb55e8c070effb/mengine60.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
MacroInterfaces
Assembly Version: 1.0.3452.19332
Win32 Version: 1.0.3452.19332
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/MacroInterfaces/1.0.3452.19332__1b9ac5a2e71aeaa8/MacroInterfaces.dll
----------------------------------------
RssReader
Assembly Version: 1.0.3861.26122
Win32 Version: 1.0.3861.26122
CodeBase: file:///C:/Program%20Files/MarcEdit%205.0/RssReader.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
marc82utf8
Assembly Version: 1.1.3783.15060
Win32 Version: 1.1.3783.15060
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/marc82utf8/1.1.3783.15060__bf45356dca352344/marc82utf8.dll
----------------------------------------
meUTF2MARC
Assembly Version: 1.1.3782.26029
Win32 Version: 1.1.3782.26029
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/meUTF2MARC/1.1.3782.26029__5da52b714ad10934/meUTF2MARC.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
--
----------
Shana L. McDanold
Electronic Resources& Serials Cataloging Librarian
University of Pennsylvania Libraries
Van Pelt-Dietrich Library Center
3420 Walnut Street
Philadelphia, PA 19104-6206
phone: 215-746-0267
fax: 215-573-9610
e-mail: [log in to unmask]
________________________________________________________________________
This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit. If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]
________________________________________________________________________
This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit. If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]
|