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,900 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

731 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