Code52 / DownmarkerWPF

MarkPad - a visual Markdown editor (inspired by the Downmarker project)
http://code52.org/DownmarkerWPF/
Microsoft Public License
1.4k stars 459 forks source link

Problem with utf8 and can't be installed or launched #470

Open qqtwinsen opened 7 years ago

qqtwinsen commented 7 years ago

i love this markdown writer very much. but sadly encountered this error info. when i import a chinease markdown document from typora, it appered and never gone. I've tried reboot and reinstall, and nothing helps. T_T I reg github specially for tell u this problem. Please help me and your team to solve this problem. Thanks very much~!

(Inner Exception) (Inner Exception) (Inner Exception) Exception Source: mscorlib Exception Type: System.Text.DecoderFallbackException Exception Message: Unable to translate bytes [E9][80] at index 18 from specified code page to Unicode. Exception Target Site: Throw

---- Stack Trace ---- System.Text.DecoderExceptionFallbackBuffer.Throw(Byte[] bytesUnknown, Int32 index) MarkPad.exe: N 3294594 System.Text.DecoderExceptionFallbackBuffer.Fallback(Byte[] bytesUnknown, Int32 index) MarkPad.exe: N 00008 System.Text.DecoderFallbackBuffer.InternalFallback(Byte[] bytes, Byte pBytes, Char& chars) MarkPad.exe: N 00041 System.Text.UTF8Encoding.GetChars(Byte bytes, Int32 byteCount, Char chars, Int32 charCount, DecoderNLS baseDecoder) MarkPad.exe: N 10706049 System.Text.UTF8Encoding.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex) MarkPad.exe: N 00206 System.Xml.XmlConverter.ToChars(Byte[] buffer, Int32 offset, Int32 count, Char[] chars, Int32 charOffset) MarkPad.exe: N 00055

(Outer Exception) Exception Source: System.Runtime.Serialization Exception Type: System.Xml.XmlException Exception Message: '注册流程QUI改??md' contains invalid UTF8 bytes. Exception Target Site: ToChars Object reference not set to an instance of an object.

(Outer Exception) Exception Source: System.Runtime.Serialization Exception Type: System.Runtime.Serialization.SerializationException Exception Message: There was an error deserializing the object of type System.Collections.Generic.List`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]. '注册流程QUI改??md' contains invalid UTF8 bytes. Exception Target Site: ReadObjectHandleExceptions

---- Stack Trace ---- System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver) MarkPad.exe: N 00419 System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(XmlDictionaryReader reader) MarkPad.exe: N 00061 System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(Stream stream) MarkPad.exe: N 00107 MarkPad.Settings.JsonSettingsStoreBase.DeserializeList(String serializedList) IsolatedStorageSettingsStore.cs: line 0053, col 13, IL 0031 MarkPad.Settings.SettingsProvider.ReadList(String storedValue, Type propertyType) SettingsProvider.cs: line 0119, col 13, IL 0023 MarkPad.Settings.SettingsProvider.ConvertValue(String storedValue, Type underlyingType) SettingsProvider.cs: line 0094, col 25, IL 0123 MarkPad.Settings.SettingsProvider.GetSettings(Boolean fresh) SettingsProvider.cs: line 0060, col 17, IL 0153 MarkPad.Infrastructure.MarkPadAutofacModule.b0(IActivatingEventArgs`1 args) MarkPadAutofacModule.cs: line 0033, col 05, IL 0012 Autofac.Builder.<>cDisplayClass6.b5(Object s, ActivatingEventArgs1 e) MarkPad.exe: N 00127 Autofac.Core.Registration.ComponentRegistration.RaiseActivating(IComponentContext context, IEnumerable1 parameters, Object& instance) MarkPad.exe: N 00073 Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) MarkPad.exe: N 00128 Autofac.Core.Resolving.InstanceLookup.b0() MarkPad.exe: N 00008 Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func1 creator) MarkPad.exe: N 00120 Autofac.Core.Resolving.InstanceLookup.Execute() MarkPad.exe: N 00132 Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable1 parameters) MarkPad.exe: N 00133 Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable1 parameters) MarkPad.exe: N 00024 Autofac.Core.Activators.Reflection.<>c__DisplayClass2.<CanSupplyValue>b__0() MarkPad.exe: N 00031 Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() MarkPad.exe: N 00094 Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters) MarkPad.exe: N 00174 Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters) MarkPad.exe: N 00048 Autofac.Core.Resolving.InstanceLookup.Execute() MarkPad.exe: N 00048 Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable1 parameters) MarkPad.exe: N 00133 Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable1 parameters) MarkPad.exe: N 00024 Autofac.Core.Activators.Reflection.<>c__DisplayClass2.<CanSupplyValue>b__0() MarkPad.exe: N 00031 Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() MarkPad.exe: N 00094 Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters) MarkPad.exe: N 00174 Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters) MarkPad.exe: N 00048 Autofac.Core.Resolving.InstanceLookup.<Execute>b__0() MarkPad.exe: N 00008 Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func1 creator) MarkPad.exe: N 00120 Autofac.Core.Resolving.InstanceLookup.Execute() MarkPad.exe: N 00132 Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable1 parameters) MarkPad.exe: N 00133 Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable1 parameters) MarkPad.exe: N 00044

(Outer Exception) Date and Time: 2016/11/30 11:15:33 OS Version: Microsoft Windows NT 6.1.7601 Service Pack 1

Application Domain: DefaultDomain Assembly Codebase: file:///C:/Users/Administrator/AppData/Local/Apps/2.0/OEYBJ2T0.AOE/2MQN5Z0Y.OLG/mark...app_0000000000000000_0000.000a_4fe90f97b0816791/MarkPad.exe Assembly Full Name: MarkPad, Version=0.10.0.12, Culture=neutral, PublicKeyToken=null Assembly Version: 0.10.0.12 Assembly Build Date: 2016/11/28 20:48:23

Exception Source: Autofac Exception Type: Autofac.Core.DependencyResolutionException Exception Message: An exception was thrown while executing a resolve operation. See the InnerException for details. ---> There was an error deserializing the object of type System.Collections.Generic.List`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]. '注册流程QUI改??md' contains invalid UTF8 bytes. (See inner exception for details.) Exception Target Site: Execute

---- Stack Trace ---- Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable1 parameters) MarkPad.exe: N 00112 Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable1 parameters) MarkPad.exe: N 00109 Autofac.Core.Container.ResolveComponent(IComponentRegistration registration, IEnumerable1 parameters) MarkPad.exe: N 00014 Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable1 parameters, Object& instance) MarkPad.exe: N 00074 Autofac.ResolutionExtensions.TryResolve(IComponentContext context, Type serviceType, Object& instance) MarkPad.exe: N 00070 Caliburn.Micro.Autofac.AutofacBootstrapper`1.GetInstance(Type service, String key) MarkPad.exe: N 00043 Caliburn.Micro.BootstrapperBase.DisplayRootViewFor(Type viewModelType) Bootstrapper.cs: line 0246, col 13, IL 0006 MarkPad.Infrastructure.AppBootstrapper.OnStartup(Object sender, StartupEventArgs e) AppBootstrapper.cs: line 0057, col 13, IL 0000 System.Windows.Application.OnStartup(StartupEventArgs e) MarkPad.exe: N 00123 System.Windows.Application.<.ctor>b__1(Object unused) MarkPad.exe: N 00043 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) MarkPad.exe: N 00085 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) MarkPad.exe: N 00057