PC Review


Reply
Thread Tools Rate Thread

Accessing postgree DB

 
 
Jeova Almeida
Guest
Posts: n/a
 
      20th May 2009
Hello,

I have a postgresql database using SQL_ASCII encoding. How can I show the
accentuated characters on a .aspx page?

In web.config file, I tried configuring
<globalization requestEncoding="iso-8859-1" responseEncoding="iso-8859-1"
culture="pt-BR"/>

No avail. I also tried with utf-8.

I used meta tag

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

Not worked too.

I'm using NPGSQL library to access the database, which supports only UNICODE
encoding.

Please help.


 
Reply With Quote
 
 
 
 
Jeova Almeida
Guest
Posts: n/a
 
      20th May 2009

"Jeova Almeida" <(E-Mail Removed)> escreveu na mensagem
news:e11z$(E-Mail Removed)...
> Hello,
>
> I have a postgresql database using SQL_ASCII encoding. How can I show the
> accentuated characters on a .aspx page?
>
> In web.config file, I tried configuring
> <globalization requestEncoding="iso-8859-1" responseEncoding="iso-8859-1"
> culture="pt-BR"/>
>
> No avail. I also tried with utf-8.
>
> I used meta tag
>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
>
> Not worked too.
>
> I'm using NPGSQL library to access the database, which supports only
> UNICODE encoding.
>
> Please help.
>
>


I found a solution: using the built in database function
convert(fiedlName using windows_1250_to_utf8)


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
(IFS filter driver) Accessing user buffer from kernel thread or accessing handles within user context RA Windows XP Drivers 4 21st Dec 2005 11:40 AM
IE slow accessing IIS6 versus being fast accessing IIS4 =?Utf-8?B?dmFkaW0=?= Windows XP Internet Explorer 0 20th Oct 2004 08:51 PM
IE slow when accessing IIS6 versus fast accessing IIS4 =?Utf-8?B?dmFkaW0=?= Windows XP Internet Explorer 0 20th Oct 2004 08:49 PM
Problem accessing Internet Explorer 6 when initially accessing internet inowcu2 \(removethis\) @yahoo.com Windows XP Internet Explorer 0 10th Dec 2003 04:40 AM
accessing T dennis Windows XP Networking 1 1st Nov 2003 02:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:08 PM.