Solved

why do i get "No mapping for the Unicode character exists in the target multi-byte code page"

Posted on 2009-04-05
4
4,873 Views
Last Modified: 2013-12-07
I have a website running on iis7 and windows server 2008 when i try to access it with mozzila firefox from some computers i get "System.ArgumentOutOfRangeException: No mapping for the Unicode character exists in the target multi-byte code page. (Exception from HRESULT: 0x80070459)"
0
Comment
Question by:aquasw
  • 2
4 Comments
 
LVL 35

Accepted Solution

by:
torimar earned 500 total points
ID: 24075745
Is the correct charset defined in the "content-type" header?
Since you probably are using Hebrew characters, this charset will have to be ISO-8859-8 or utf-8, I guess.

For HTML:
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >

For XHTML:
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
0
 

Author Comment

by:aquasw
ID: 24076382
the same meta tag exists on my masterpage
0
 

Author Comment

by:aquasw
ID: 24178026
anyone ?
0
 

Expert Comment

by:MoishG
ID: 35972838
Helllo, i had also this kind of problem in firefox ,using hebrew url characters ,so i used
the method encodeURIComponent() in javascript at the .src url link  .
in my case the problem was at the google analytics  script , so i executed the encodeURIComponent()
on the link and the problem solved  :)
hope this will for for u .

in  my case solution:

(function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = encodeURIComponent(('https:' == document.location.protocol ? 'https://ssl' : 'http://www')) + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question