xbikuna / nettopologysuite

Automatically exported from code.google.com/p/nettopologysuite
0 stars 0 forks source link

CP1252 in Silverlight.Test produces a TypeInitialisation Error #115

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Running TestShapeFileProvider on Win7x64 German UI
2.
3.

last version from Trunk

Changed implementation "public char? FallbackCharacter" in CP1252 and checked 
for charToByte in setter like:

       if (charToByte == null)
                    return; 

This made the problem go away...

Original issue reported on code.google.com by volkmar....@gmx.de on 20 May 2012 at 8:51

GoogleCodeExporter commented 8 years ago
Hi, the above fixed it for me- not sure so if this is the right fix..
Thanks for maintainig this library...

Original comment by volkmar....@gmx.de on 20 May 2012 at 8:52

GoogleCodeExporter commented 8 years ago

Original comment by diegogu...@gmail.com on 21 May 2012 at 6:12

GoogleCodeExporter commented 8 years ago
works also for me, but looks a strange that happens, because 'charToByte' 
dictionary is a static dictionary, so it should be always not null...

Original comment by diegogu...@gmail.com on 21 May 2012 at 11:23

GoogleCodeExporter commented 8 years ago
Just committed a fix. I assume that it had to do with static instance of 
CP1252, but -like diego- I don't know why.

Original comment by felix.ob...@netcologne.de on 23 May 2012 at 8:44

GoogleCodeExporter commented 8 years ago
Nobody complained, so I assume this to be fixed

Original comment by felix.ob...@netcologne.de on 2 Jul 2012 at 9:48