[Mono-list] Encoding Question

Nathan Findley nathan at zenlok.com
Mon Oct 29 14:12:18 UTC 2012


Hi all,

I have compiled Mono myself but am having a problem with a codepage not
being recognized. What compil options do I need to use and/or libraries
am I missing?

Code:
System.Text.Encoding from_jp = System.Text.Encoding.GetEncoding(932);

Error:
Unhandled Exception: System.NotSupportedException: CodePage 932 not
supported
at System.Text.Encoding.GetEncoding (Int32 codepage) [0x00000] in
<filename unknown>:0

MONO Install:
yum install bison gettext glib2 freetype fontconfig libpng libpng-devel
libX11 libX11-devel glib2-devel libgdi* libexif glibc-devel urw-fonts
java unzip gcc gcc-c++ automake autoconf libtool make bzip2 wget

cd /usr/local/src
wget http://download.mono-project.com/sources/mono/mono-2.10.5.tar.gz
tar zxvf mono-2.10.5.tar.gz
cd mono-2.10.5
./configure --prefix=/opt/mono
make && make install

System:
Fedora 15

Mono JIT compiler version 2.10.5 (tarball Mon Sep 5 20:45:01 UTC 2011)
Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors.
www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: debugger softdebug
LLVM: supported, not enabled.
GC: Included Boehm (with typed GC and Parallel Mark)

Regards,
Nate

-- 
システムマネージャー/開発責任者
Zenlok株式会社



More information about the Mono-list mailing list