Using local resource file.

N

Nesster13

Hi,

I am building an application that will utilize the local resource
file. Right now the application is separated into two part, the header
and the content. One of the line at the top of the header is "<meta
http-equiv="Content-Type" content="text/html; charset=euc-kr">" When I
generate a local resource file what I see at the top of the resource
file is "<?xml version="1.0" encoding="utf-8"?>". Now this will create
a problem when I load the application because they are encoded
differently. However, when I tried to change the encoding at the top
of the local resource file into euc-kr the page still loaded
incorrectly. I have also tried to generate a blank resource file,
change the encoding at the top, and then copy the Korean text
afterward, assuming that the order is important. When I view the page
in "Unicode" the text from the resource file is correct and when I
change the encoding to "euc-kr" the header text is correct. Does
anyone know how to fix this? Thanks in advance.
 
N

Nesster13

Hi,

I am building an application that will utilize the local resource
file. Right now the application is separated into two part, the header
and the content. One of the line at the top of the header is "<meta
http-equiv="Content-Type" content="text/html; charset=euc-kr">" When I
generate a local resource file what I see at the top of the resource
file is "<?xml version="1.0" encoding="utf-8"?>". Now this will create
a problem when I load the application because they are encoded
differently. However, when I tried to change the encoding at the top
of the local resource file into euc-kr the page still loaded
incorrectly. I have also tried to generate a blank resource file,
change the encoding at the top, and then copy the Korean text
afterward, assuming that the order is important. When I view the page
in "Unicode" the text from the resource file is correct and when I
change the encoding to "euc-kr" the header text is correct. Does
anyone know how to fix this? Thanks in advance.

This is what I found out so far. If I view the header by itself, it
will load the right language "euc-kr". However when I load the
application with the header inside, it will load Unicode utf-8 on page
load. I have set the culture as ko in the global.asax file but this
does not seem to help. It seems like the setting in the global cancel
out the setting in the header. I cannot modify the header because
there are many other application that uses this same header. Does
anyone know of a way to go around this? Thanks
 
N

Nesster13

This is what I found out so far. If I view the header by itself, it
will load the right language "euc-kr". However when I load the
application with the header inside, it will load Unicode utf-8 on page
load. I have set the culture as ko in the global.asax file but this
does not seem to help. It seems like the setting in the global cancel
out the setting in the header. I cannot modify the header because
there are many other application that uses this same header. Does
anyone know of a way to go around this? Thanks

I was able to find a solution for this problem.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top