| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -55,6 +55,7 @@ | |||
| 55 | 55 | - Meinrad Recheis ([@henon](https://github.com/henon)) | |
| 56 | 56 | - Mohamed Koubaa ([@koubaa](https://github.com/koubaa)) | |
| 57 | 57 | - Patrick Stewart ([@patstew](https://github.com/patstew)) | |
| 58 | + - Peter Kese ([@patstew](https://github.com/pkese)) | ||
| 58 | 59 | - Raphael Nestler ([@rnestler](https://github.com/rnestler)) | |
| 59 | 60 | - Rickard Holmberg ([@rickardraysearch](https://github.com/rickardraysearch)) | |
| 60 | 61 | - Sam Winstanley ([@swinstanley](https://github.com/swinstanley)) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -71,6 +71,7 @@ One must now either use enum members (e.g. `MyEnum.Option`), or use enum constru | |||
| 71 | 71 | - Exception stacktraces on `PythonException.StackTrace` are now properly formatted | |
| 72 | 72 | - Providing an invalid type parameter to a generic type or method produces a helpful Python error | |
| 73 | 73 | - Empty parameter names (as can be generated from F#) do not cause crashes | |
| 74 | + - Unicode strings with surrogates get truncated when converting from Python | ||
| 74 | 75 | ||
| 75 | 76 | ### Removed | |
| 76 | 77 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -96,6 +96,16 @@ public void TestUnicode() | |||
| 96 | 96 | } | |
| 97 | 97 | ||
| 98 | 98 | [Test] | |
| 99 | + public void TestUnicodeSurrogateToString() | ||
| 100 | + { | ||
| 101 | + var expected = "foo\ud83d\udc3c"; | ||
| 102 | + var actual = PythonEngine.Eval("'foo\ud83d\udc3c'"); | ||
| 103 | + Assert.AreEqual(4, actual.Length()); | ||
| 104 | + Assert.AreEqual(expected, actual.ToString()); | ||
| 105 | + } | ||
| 106 | + | ||
| 107 | + [Test] | ||
| 108 | + [Ignore("Bug: Unicode conversion issue #1466")] | ||
| 99 | 109 | public void TestUnicodeSurrogate() | |
| 100 | 110 | { | |
| 101 | 111 | const string expected = "foo\ud83d\udc3c"; // "foo🐼" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments