i got .net project clients use , pass in string. .net code calls java service. string "\123"
i not familiar .net java.
looks c# automatically escapes unicode \ in string value , considers value "\123" itself.
when value comes java becomes "s" "\123" unicode value , represents "s". unacceptable
i can't use apache commons lang stringescapeutils due corporate restrictions on using third party libraries. don't have choice here.
so how handle such unicode characters in case?
you escape unicode double backslash:
\\123 represents \123 string
Comments
Post a Comment