■
id:akirameiさんのところを読んで気になったのでソースを追っかけてみました。
id:atsushienoさんの言うとおりMonoでの円コーディングまわりには色々未解決の問題があるようです。
(補足) {131, 69} = {0x83, 0x45} はEUC-JPで有効な文字コードではなく、SJISでの「ウ」の文字コードです。
で、それはそれとして、どうやらエラーメッセージ読むとI18Nまわりにも問題がある様子。
using System;
using System.Text;
using I18N.Common;public class TestResourceManager
{
static void Main ()
{
Console.WriteLine (Strings.GetString ("Arg_InsufficientSpace"));
}
}
を実行してみると
Unhandled Exception: System.Resources.MissingManifestResourceException: Could not find any resource appropiate for the specified culture or its parents. Make sure "I18N.resources" was correctly embedded or linked into assembly "I18N".
in <0x002fd> System.Resources.ResourceManager:InternalGetResourceSet (System.Globalization.CultureInfo culture, Boolean Createifnotexists, Boolean tryParents)
in <0x0041e> System.Resources.ResourceManager:InternalGetResourceSet (System.Globalization.CultureInfo culture, Boolean Createifnotexists, Boolean tryParents)
in <0x0041e> System.Resources.ResourceManager:InternalGetResourceSet (System.Globalization.CultureInfo culture, Boolean Createifnotexists, Boolean tryParents)
in <0x0005f> System.Resources.ResourceManager:GetString (System.String name, System.Globalization.CultureInfo culture)
in <0x00064> I18N.Common.Strings:GetString (System.String tag)
in <0x0000f> TestResourceManager:Main ()
やはり落ちます。
「I18N.resourcesちゃんとリンクしてる?」みたいなこと言われるんですが、そもそもどこにあるんでしょうか・・・