Hi all!
I have problem and dont know how to solve it. I'm from Croatia and charset
for my country is "Windows-1250" (codepage = 1250)
I made some pages that write text from textboxes in SQL database that is
international. After reading that data I dont get special characters in that
codepage.
On every page I have this in the beggining
--
<%@. Page Language="vb" AutoEventWireup="false"
Codebehind="kategorija.aspx.vb" Inherits="marti.finesa.kategorija"
culture="hr-HR" responseEncoding="windows-1250"%>
--
Special characters in that codepage are Ю. After reading that, I
get ?d?cc?CC.
What I need to do.
PLEASE HELP!Bubbi wrote:
> Special characters in that codepage are Ю. After reading
that, I
> get ?d?cc?CC.
Use the default UTF-8 encoding. This is a form of Unicode that will
properly render your characters. It can be set for the whole application
in the web.config file, and is set there by default to UTF-8.
The next step is to make sure you are storing the data in way that
preserves the unicode data (fields in database are unicode data types),
and that your client browser properly interprets the encoding of the
page (do you have a specific character set selected in the View Encoding
menu of IE, instead of letting it autodetect?).
Hope that helps.
Showing posts with label aspnet. Show all posts
Showing posts with label aspnet. Show all posts
Thursday, February 16, 2012
Charset from asp.net page
Hi all!
I have problem and dont know how to solve it. I'm from Croatia and charset
for my country is "Windows-1250" (codepage = 1250)
I made some pages that write text from textboxes in SQL database that is
international. After reading that data I dont get special characters in that
codepage.
On every page I have this in the beggining
<%@. Page Language="vb" AutoEventWireup="false"
Codebehind="kategorija.aspx.vb" Inherits="marti.finesa.kategorija"
culture="hr-HR" responseEncoding="windows-1250"%>
Special characters in that codepage are Ю. After reading that, I
get ?d?cc?CC.
What I need to do.
PLEASE HELP!
Bubbi wrote:
> Special characters in that codepage are Ю. After reading
that, I
> get ?d?cc?CC.
Use the default UTF-8 encoding. This is a form of Unicode that will
properly render your characters. It can be set for the whole application
in the web.config file, and is set there by default to UTF-8.
The next step is to make sure you are storing the data in way that
preserves the unicode data (fields in database are unicode data types),
and that your client browser properly interprets the encoding of the
page (do you have a specific character set selected in the View Encoding
menu of IE, instead of letting it autodetect?).
Hope that helps.
I have problem and dont know how to solve it. I'm from Croatia and charset
for my country is "Windows-1250" (codepage = 1250)
I made some pages that write text from textboxes in SQL database that is
international. After reading that data I dont get special characters in that
codepage.
On every page I have this in the beggining
<%@. Page Language="vb" AutoEventWireup="false"
Codebehind="kategorija.aspx.vb" Inherits="marti.finesa.kategorija"
culture="hr-HR" responseEncoding="windows-1250"%>
Special characters in that codepage are Ю. After reading that, I
get ?d?cc?CC.
What I need to do.
PLEASE HELP!
Bubbi wrote:
> Special characters in that codepage are Ю. After reading
that, I
> get ?d?cc?CC.
Use the default UTF-8 encoding. This is a form of Unicode that will
properly render your characters. It can be set for the whole application
in the web.config file, and is set there by default to UTF-8.
The next step is to make sure you are storing the data in way that
preserves the unicode data (fields in database are unicode data types),
and that your client browser properly interprets the encoding of the
page (do you have a specific character set selected in the View Encoding
menu of IE, instead of letting it autodetect?).
Hope that helps.
Charset from asp.net page
Hi all!
I have problem and dont know how to solve it. I'm from Croatia and charset
for my country is "Windows-1250" (codepage = 1250)
I made some pages that write text from textboxes in SQL database that is
international. After reading that data I dont get special characters in that
codepage.
On every page I have this in the beggining
--
<%@. Page Language="vb" AutoEventWireup="false"
Codebehind="kategorija.aspx.vb" Inherits="marti.finesa.kategorija"
culture="hr-HR" responseEncoding="windows-1250"%>
--
Special characters in that codepage are ¹ð¾èæ©Ð®ÈÆ. After reading that, I
get ?d?cc?CC.
What I need to do.
PLEASE HELP!Bubbi wrote:
> Special characters in that codepage are ¹ð¾èæ©Ð®ÈÆ. After reading
that, I
> get ?d?cc?CC.
Use the default UTF-8 encoding. This is a form of Unicode that will
properly render your characters. It can be set for the whole application
in the web.config file, and is set there by default to UTF-8.
The next step is to make sure you are storing the data in way that
preserves the unicode data (fields in database are unicode data types),
and that your client browser properly interprets the encoding of the
page (do you have a specific character set selected in the View Encoding
menu of IE, instead of letting it autodetect?).
Hope that helps.
I have problem and dont know how to solve it. I'm from Croatia and charset
for my country is "Windows-1250" (codepage = 1250)
I made some pages that write text from textboxes in SQL database that is
international. After reading that data I dont get special characters in that
codepage.
On every page I have this in the beggining
--
<%@. Page Language="vb" AutoEventWireup="false"
Codebehind="kategorija.aspx.vb" Inherits="marti.finesa.kategorija"
culture="hr-HR" responseEncoding="windows-1250"%>
--
Special characters in that codepage are ¹ð¾èæ©Ð®ÈÆ. After reading that, I
get ?d?cc?CC.
What I need to do.
PLEASE HELP!Bubbi wrote:
> Special characters in that codepage are ¹ð¾èæ©Ð®ÈÆ. After reading
that, I
> get ?d?cc?CC.
Use the default UTF-8 encoding. This is a form of Unicode that will
properly render your characters. It can be set for the whole application
in the web.config file, and is set there by default to UTF-8.
The next step is to make sure you are storing the data in way that
preserves the unicode data (fields in database are unicode data types),
and that your client browser properly interprets the encoding of the
page (do you have a specific character set selected in the View Encoding
menu of IE, instead of letting it autodetect?).
Hope that helps.
Subscribe to:
Posts (Atom)