Hi,
I'm trying to save hebrew chars into a cookie , but the result is gibbrish chars.
It happen only for firefox. when I'm working with internet explorer it works fine.
I'm working with javascript.
Thanks,
Yair
Search Result
Collapse
11 results in 0.0028 seconds.
Keywords
Members
Tags
-
the byte string is same in python and c#,but md5 hashcode is different
hi,everyone.
I want to generate the hash code from a string,e.g."咖啡" ,but the hashcode I get from python and c# is different,the one from python is what I want
c#
Code:String str = "咖啡"; MD5 m = MD5.Create(); byte[] data = m.ComputeHash(Encoding.Default.GetBytes(str)); StringBuilder sbuilder = new StringBuilder(); for(int i=0;i<data.Length;i++){
-
How to encode a URL in jsp?
I want to encode a url and send it to another page.However, when I press the link, it gives me page not found..
<%
String url="newjsp.jsp ?name=vimal&id= 0812573&NIC=vim al basdeo&f=nasha sahdjsa hk";
url=URLEncoder. encode(url,"UTF-8");
out.println("<a href="+url+"><i mg src='ajith-billa2.jpg' alt='Ajit'></a>");... -
raw_input encoding diferent from code encoding problem
Hello, everyone, any help wil be greatly appreciated.
I'm writing code for a japanese learning app in python;
so all my japanese strings have are preceeded by 'u' (eg. u'にほんご'); Everthing works like a charm, except for when I get input from the user.
Code:>>> internal=[u'\u306f\u3057\u3063\u305f', u'\u306f\u3057\u3063\u3066', u'\u306f\u3057\u3089\u306a\u3044', u'\u306f\u3057\u308a\u307e\u3059', u'\u306f\u3057\u308b',
-
need help in writting the algorithm to slove a matching
I am doing my final year project. I need to write a code in C to convert the vocal signature of a bird. I have a voice of the bird. I need to convert it into code. can some 1 help me pls. Thanks
Raaseth -
Problem Encoding to ISO-8859-1
Hi
I'm trying to encode string to ISO-8859-1 and after send this data to a webservice.
I'm using VB.NET 2008.
I have the next code. It runs fine excepts the character +
Code:baseurl = "http://www.myweb.com/api/sendsms.php" client = New WebClient client.Headers.Add("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET
-
Problem with unencoded pound signs and WebRequest
I am having trouble with a C# proxy page I am writing which allows me to do cross domain AJAX calls with Javascript.
The problem is with certain pages that contain pound signs £ that are not HTML encoded in the source that I am trying
to extract with the WebRequest and WebResponse objects.
The page is using a charset of iso-8859-1 which I think is the problem as my object is using UTF-8. I have created
two test pages... -
problem with Arabic language.
Hello,
I have been haunted by this issue for a long time. I have a list of cities in a .DBF file called as "cities1.db f". When i query the Arabic field & try to display in a drop down list, it shows some garbage values & not the actual arabic text.
Is this something to do with the encoding decoding. Earlier i tried do solve this with the .net Encoding decoding, but couldnt get success.
... -
How to find if a locale is supported by given encoding?
Hi,
I have a need to show list of locales into a field on a wizard ( a Java based application). But these locales should be such that they are supported by the current character set (encoding) selected by the user on his machine. Is there any Java utility function or set of function or package, using which, I can somehow figure out my current character set / encoding would support the given locale?
... -
SVN crazy console
Hi!
Why my svn client makes that strange encoding:
etam:djangofram e etam$ svn update
Pomini?\196?\15 3to '.'
?!
It should be 'Pominięto'. The ?\196?\153 = ę :/.
Thanks in advance,
Etam. -
<?xml version="1.0" encoding="utf-16"?> not working in ie
Building a site for a client, loaded it up, it works fine in Firefox but presents the below message when loading into ie 6 or ie 5, fine in 7 I think, but the client can not even view it in 7.
So what is going on?
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
...