CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Character set

Print topic Send  topic

Author Message
Petr PALAS
Posted: 03/12/2001, 7:46 AM

Hi,

I'm evaluating the latest version of CodeCharge (ASP 2.0 + templates, SQL
Server using SQLOLEDB), but I have problems with our national character set
(windows-1250). When I save data to the database it changes all the national
characters with accent to &#ccc; CodeCharge uses iso-8859-1 by default. I
tried to change the charset in META-tag in the template (html) file. Now it
saves some of the characters correctly, but some not. The other ASP
applications on the server work correctly, but the apps made with CodeCharge
not :-( I also tried to put response.charset = "win-1250" in the beginning
of the ASP file, but it doesn't help.

Does anybody know the solution?

BTW: I would appreciate if it were possible to set the charset in the
CodeCharge environment directly.

Thank you.

Regards,

Petr PALAS
palas@atlas.cz


CodeCharge
Posted: 03/12/2001, 5:23 PM

Did you maybe try changing the language settings in Options/Site Translation
?
You may modify the charset in the translation XML files in C:\Program
Files\CodeCharge\Translations directory.


"Petr PALAS" <palas@atlas.cz> wrote in message
news:98ir1e$bqm$1@mail.tankhill.com...
> Hi,
>
> I'm evaluating the latest version of CodeCharge (ASP 2.0 + templates, SQL
> Server using SQLOLEDB), but I have problems with our national character
set
> (windows-1250). When I save data to the database it changes all the
national
> characters with accent to &#ccc; CodeCharge uses iso-8859-1 by default. I
> tried to change the charset in META-tag in the template (html) file. Now
it
> saves some of the characters correctly, but some not. The other ASP
> applications on the server work correctly, but the apps made with
CodeCharge
> not :-( I also tried to put response.charset = "win-1250" in the
beginning
> of the ASP file, but it doesn't help.
>
> Does anybody know the solution?
>
> BTW: I would appreciate if it were possible to set the charset in the
> CodeCharge environment directly.
>
> Thank you.
>
> Regards,
>
> Petr PALAS
>palas@atlas.cz
>
>
>

Petr PALAS
Posted: 03/13/2001, 11:20 PM

Hi,

I think I have the solution of this. I tried almost everyting. The right
steps are:

1) edit C:\Program Files\CodeCharge\Translations\english.xml and rewrite
codepage to yours (windows-1250)
2) close CodeCharge and run it again
3) generage all pages
The problem is this: when encoding the characters using server.htmlencode
the server doesn't recognize the right codepage and puts wrong codes
(&#xxx;) for specified codepage. So I have to miss htmlencoding. I can check
the HTML checkbox at the label field properties, but I can't find such an
option at the properties window of a textbox control. Please could you add
it in the next version?
Because of this, there's still one step:
4) remove server.htmlencode from the common.asp function.

Now it works. I also tried to persuade the server to convert the characters
correctly using @ CODEPAGE and SESSION.CODEPAGE and RESPONSE.CHARSET, but it
doesn't help. If anybody knows how to do it, please let me know.

Regards,

Petr PALAS
palas@atlas.cz





"CodeCharge" <support@codecharge.com> wrote in message
news:98jsq0$a9r$1@mail.tankhill.com...
> Did you maybe try changing the language settings in Options/Site
Translation
> ?
> You may modify the charset in the translation XML files in C:\Program
> Files\CodeCharge\Translations directory.
>
>
> "Petr PALAS" <palas@atlas.cz> wrote in message
>news:98ir1e$bqm$1@mail.tankhill.com...
> > Hi,
> >
> > I'm evaluating the latest version of CodeCharge (ASP 2.0 + templates,
SQL
> > Server using SQLOLEDB), but I have problems with our national character
> set
> > (windows-1250). When I save data to the database it changes all the
> national
> > characters with accent to &#ccc; CodeCharge uses iso-8859-1 by default.
I
> > tried to change the charset in META-tag in the template (html) file. Now
> it
> > saves some of the characters correctly, but some not. The other ASP
> > applications on the server work correctly, but the apps made with
> CodeCharge
> > not :-( I also tried to put response.charset = "win-1250" in the
> beginning
> > of the ASP file, but it doesn't help.
> >
> > Does anybody know the solution?
> >
> > BTW: I would appreciate if it were possible to set the charset in the
> > CodeCharge environment directly.
> >
> > Thank you.
> >
> > Regards,
> >
> > Petr PALAS
> >palas@atlas.cz
> >
> >
> >
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.