Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old November 23rd, 2005, 12:30 AM
G. Brannon Smith
Guest
 
Posts: n/a
Default Accented chars in several apps

I have a personal database of my books, several of which are French with
accented characters in their titles. However I am getting inconsistent
display of the accent characters depending on the app I am using to
access the DB.

When the accents show up OK in psql and phpPgAdmin,
they look like garbage in pgaccess and pgadmin3.
If I correct them in pgaccess and/or pgadmin3,
they look like garbage in psql and phpPgAdmin.

An example:
pgadmin3 shows
[Paris, Odéon-Théâtre de France, 21 Octobre 1963] ; (suivi de) Pas
Moi : [Paris, Théâtre d'Orsay, 8 Avril 1975]

while phpPgAdmin renders
[Paris, Odéon-Théâtre de France, 21 Octobre 1963] ; (suivi de) Pas Moi :
[Paris, Théâtre d'Orsay, 8 Avril 1975]

-OR- (same database, diff row)
psql (SQL_ASCII enc) has
la dissertation fran?aise aux baccalaur?ats et aux concours

but pgadmin3 sez
la dissertation française aux baccalauréats et aux concours

(dunno how these will travel in email)
The bookcat database is SQL_ASCII. Initdb initted the system (7.4.2
installed by RPM on Fedora Core 1) as en_US.UTF-8.

What should I be checking for in these apps and how can I make them ALL
consistently render the accents correctly?

--
+--------------------------------------------------------------------+
| G. Brannon SMITH, M.S. WWW: http://gbsmith.freeshell.org |
| Computer Science mailto:gbsmithATfreeshellDOTorg |
| mailto:brannonsmithATyahooDOTcom |
+--------------------------------------------------------------------+
| "There is no off position on the genius switch." - David Letterman |
+--------------------------------------------------------------------+
  #2  
Old November 23rd, 2005, 12:30 AM
G. Brannon Smith
Guest
 
Posts: n/a
Default Re: Accented chars in several apps

Answering my own post. I went ahead and bit the bullent and dumped the
whole thing over to ENCODING = 'UNICODE'. Wasn't nearly as painful as I
thought it would be... although I guess the DB has now effectively
doubled in size.

G. Brannon Smith wrote:[color=blue]
> I have a personal database of my books, several of which are French with
> accented characters in their titles. However I am getting inconsistent
> display of the accent characters depending on the app I am using to
> access the DB.
>
> When the accents show up OK in psql and phpPgAdmin,
> they look like garbage in pgaccess and pgadmin3.
> If I correct them in pgaccess and/or pgadmin3,
> they look like garbage in psql and phpPgAdmin.
>[/color]



--
+--------------------------------------------------------------------+
| G. Brannon SMITH, M.S. WWW: http://gbsmith.freeshell.org |
| Computer Science mailto:gbsmithATfreeshellDOTorg |
| mailto:brannonsmithATyahooDOTcom |
+--------------------------------------------------------------------+
| "There is no off position on the genius switch." - David Letterman |
+--------------------------------------------------------------------+
  #3  
Old November 23rd, 2005, 12:30 AM
Janning Vygen
Guest
 
Posts: n/a
Default Re: Accented chars in several apps

Am Freitag, 9. April 2004 22:32 schrieb G. Brannon Smith:[color=blue]
> Answering my own post. I went ahead and bit the bullent and dumped the
> whole thing over to ENCODING = 'UNICODE'. Wasn't nearly as painful as I
> thought it would be... although I guess the DB has now effectively
> doubled in size.[/color]

Isn't Unicode mostly the same size in byte as long as most charcters are
ascii? So, are you sure your DB size doubles? in my understanding of unicode,
size should be almost the same in your case.

kind regards,
janning



---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

 

Bookmarks

Thread Tools

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles