Advertisement

04.02.2008 at 04:10AM PDT, ID: 23288730
[x]
Attachment Details

æ ø å Æ Ø Å change into æ ø Ã¥ à  ÃÜ Ã& in javascript function

Asked by MortenWB in Active Server Pages (ASP), JavaScript

Tags: asp, javascript, html, IE7, Firefox, Safari

Hi Experts,

I am developing an ASP/Access booking system in danish.

Using  iso-8859-1 charset all pages display æøå as intended, but when I send the data to my asp popup editing page via javascript  the æøå ÆØÅ characters end up as  Ã¦ ø Ã¥ à  ÃÜ Ã&

What do I miss?

I attach code snippets for the javascript and form code.

Best regards

MortenWB
Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
<script language="javascript">
function myPopup(id) {
      var obj0, obj1, obj2, obj3, obj4, obj5, obj6, obj7, obj8, url, h, w;
        obj0 = document.getElementById(id + 'header').value;
        obj1 = document.getElementById(id + 'Overskrift').value;
        obj2 = document.getElementById(id  + 'fromminute').value;
        obj3 = document.getElementById(id  + 'tominute').value;
        obj4 = document.getElementById(id  + 'Timespan').value;
        obj5 = document.getElementById(id  + 'id').value;
        obj6 = document.getElementById(id  + 'colorcode').value;
        obj7 = document.getElementById(id  + 'inserttime2').value;
        obj8 = document.getElementById(id  + 'notat').value;
      url = "bookedit.asp?item0=" + obj0 + "&item1=" + obj1 + "&item2=" + obj2 + "&item3=" + obj3 + "&item4=" + obj4 + "&item5=" + obj5 + "&item6=" + obj6 + "&item7=" + obj7 + "&item8=" + obj8;
      h = 450;
      w = 300;
      window.open(url, "_blank", 'width=' + w + ', height=' + h +', location=no, menubar=no, resizeable=no, status=no, toolbar=no');
}
 
</script>
 
	<!--  display booking data divs -->
<div onMouseOver="this.style.cursor='pointer'; InfoOn('<%=id%>');" onMouseOut="InfoOut();" onClick="myPopup('<%=id%>');" style="position:absolute; width:100px;  top:<%=93+Cint(rs("fromminute")/interval)%>px; height:<%=Cint((rs("tominute")-rs("fromminute"))/interval)%>px; left:<%=300+(i*110+210)%>px; background-color:<%=rs("colorcode")%>; z-index:<%=rs("id")%>; ">
	<font size="-3" face="Arial, Helvetica, sans-serif">
	<%=rs("overskrift")%><br /><%=fromhour%> - <%=tohour%>
 
 
	<!-- Vars to pass on -->
    <input type="hidden" id="<%=id & "Overskrift"%>" name="<%=y%>" value="<%=rs("overskrift")%>" />
   	<input type="hidden" id="<%=id & "fromminute"%>" name="<%=y%>" value="<%=rs("fromminute")%>" />
   	<input type="hidden" id="<%=id & "tominute"%>" name="<%=y%>" value="<%=rs("tominute")%>" />
   	<input type="hidden" id="<%=id & "fromhour"%>" name="<%=y%>" value="<%=fromhour%>" />
   	<input type="hidden" id="<%=id & "tohour"%>" name="<%=y%>" value="<%=tohour%>" />
   	<input type="hidden" id="<%=id & "notat"%>" name="<%=y%>" value="<%=rs("notat")%>" />
   	<input type="hidden" id="<%=id & "Timespan"%>" name="<%=y%>" value="<%=timespan%>" />
   	<input type="hidden" id="<%=id & "header"%>" name="<%=y%>" value="Edit" />
   	<input type="hidden" id="<%=id & "id"%>" name="<%=y%>" value="<%=rs("id")%>" />
   	<input type="hidden" id="<%=id & "colorcode"%>" name="<%=y%>" value="<%=colorcode%>" />
   	<input type="hidden" id="<%=id & "left"%>" name="<%=y%>" value="<%=320+(i*110+210)%>px" />
   	<input type="hidden" id="<%=id & "top"%>" name="<%=y%>" value="<%=113+Cint(rs("fromminute")/interval)%>px" />
   	<input type="hidden" id="<%=id & "inserttime2"%>" name="<%=y%>" value="<%=rs("inserttime")%>" />
</div>
[+][-]04.02.2008 at 04:15AM PDT, ID: 21261732

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.02.2008 at 04:46AM PDT, ID: 21261953

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.02.2008 at 05:17AM PDT, ID: 21262179

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.02.2008 at 05:47AM PDT, ID: 21262417

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.02.2008 at 06:53AM PDT, ID: 21263020

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.02.2008 at 07:37AM PDT, ID: 21263480

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.02.2008 at 08:07AM PDT, ID: 21263829

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.02.2008 at 08:48AM PDT, ID: 21264318

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.02.2008 at 10:24AM PDT, ID: 21265249

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.03.2008 at 02:27AM PDT, ID: 21270763

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.03.2008 at 02:40AM PDT, ID: 21270816

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.03.2008 at 02:54AM PDT, ID: 21270903

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.03.2008 at 07:00AM PDT, ID: 21272717

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.03.2008 at 08:13AM PDT, ID: 21273510

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.04.2008 at 02:06AM PDT, ID: 21279910

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.04.2008 at 03:43AM PDT, ID: 21280257

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.04.2008 at 04:29AM PDT, ID: 21280478

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.04.2008 at 05:30AM PDT, ID: 21280920

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.04.2008 at 09:21AM PDT, ID: 21283269

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.04.2008 at 03:37PM PDT, ID: 21286149

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.06.2008 at 09:08AM PDT, ID: 21292229

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.22.2008 at 05:34AM PDT, ID: 21410354

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Active Server Pages (ASP), JavaScript
Tags: asp, javascript, html, IE7, Firefox, Safari
Sign Up Now!
Solution Provided By: MortenWB
Participating Experts: 3
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628