vj#:
import System .* public class IsSurrogateSampl public static void main(String[] args1 String str = "\u00010F00" Console.WriteLine(Char.IsSurrogate('a')); Console.WriteLine(Char.IsSurrogate(str, 0)); } In the above problem the second call to IsSurrogate method returns False instead of True.But the same problem works fine in C# Can any one help me out
This is a bug I have submitted a bug report to the J# development team. Thanks, Michael Green Microsoft Developer Support -------------------- | Thread-Topic: Problem with IsSurrogate method | thread-index: AcP2pjCuSmsFre3RTdCjiObw5dJ/vA== | X-Tomcat-NG: microsoft.public.dotnet.vjsharp | From: =?Utf-8?B?UHJhc2Fk?= <anonymous@discussions.microsoft.com> | Subject: Problem with IsSurrogate method | Date: Wed, 18 Feb 2004 21:06:53 -0800 | Lines: 14 | Message-ID: <D769581C-9643-435D-AFCF-04E83E4777D7@microsoft.com> | MIME-Version: 1.0 | Content-Type: text/plain; | charset="Utf-8" | Content-Transfer-Encoding: 7bit | X-Newsreader: Microsoft CDO for Windows 2000 | Content-Class: urn:content-classes:message | Importance: normal | Priority: normal | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 | Newsgroups: microsoft.public.dotnet.vjsharp | Path: cpmsftngxa07.phx.gbl | Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.vjsharp:5482 | NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180 | X-Tomcat-NG: microsoft.public.dotnet.vjsharp | | import System .* ; public class IsSurrogateSample { public static void main(String[] args1) { String str = "\u00010F00"; Console.WriteLine(Char.IsSurrogate('a')); Console.WriteLine(Char.IsSurrogate(str, 0)); } } In the above problem the second call to IsSurrogate method returns False instead of True.But the same problem works fine in C#. Can any one help me out? |
Don't see what you're looking for? Try a search.
|