[Mono-list] Encoding Question
Nathan Findley
nathan at zenlok.com
Mon Oct 29 14:32:28 UTC 2012
Ian,
Yeah cp932 should be just fine on my system.
Wow gotcha I just used an older posting on the web. I will download a
newer version and see if it works better.
Thanks,
Nate
On 10/29/2012 11:16 PM, Ian Norton wrote:
> That is quite an old mono.
>
> Do you have any non-mono things that work with cp932?
>
> Ian
>
> On Mon, Oct 29, 2012 at 02:12:18PM +0000, Nathan Findley wrote:
>> 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????????????
>>
>> _______________________________________________
>> Mono-list maillist - Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
--
システムマネージャー/開発責任者
Zenlok株式会社
More information about the Mono-list
mailing list