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,758 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Several part series to implement Internet Explorer 11 Enterprise Mode
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.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

896 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now