MARCEDIT-L Archives

September 2010

MARCEDIT-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Reese, Terry" <[log in to unmask]>
Reply To:
MarcEdit support in technical and instructional matters <[log in to unmask]>
Date:
Tue, 14 Sep 2010 11:45:43 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (168 lines)
So -- the program really can't do a utf8 to utf8 conversion.  That's why you are seeing the error.  I suppose I could certainly have trapped it (and likely will now that I know this error is showing) -- but that's why you are seeing it.

In terms of the characterset -- no -- you likely will need to ask someone.  Depending on where the file came from, you can make some guesses.  Often times, if a file isn't in MARC8 or UTF8 -- it will be in character encoding 1252 (Western European) or 28591 (ISO-8859-1).

--TR

-----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 11:23 AM
To: [log in to unmask]
Subject: [MARCEDIT-L] 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]

ATOM RSS1 RSS2