Re: [OPEN-ILS-DEV] Organisational units

2007-11-01 Thread Dan Scott
On 01/11/2007, Pierre Nault [EMAIL PROTECTED] wrote:

 Hi Mike,

 snip

   Consortium
   Example System 2
   Example Branch 3
   Example Bookmobile 1
   Example Branch 4
   Universit� du Qu�bec � Montr�al
   Example Branch 1
   Example Sub-lib 1
   Example Branch 2
  
   ++
  
   I have to mention that that the Apache server and the database have
  been rebooted, so I don't understand why the values are not the same
  everywhere. Also, these values persist even if I flush the browser cache and
  reload the page. Strange. Isn't it?
 
  This is an issue that we just fixed yesterday or the day before,
  actually.  Dan Scott noticed the same thing, and the problem is that
  the file written by one of the scripts called by autogen.sh does not
  write out UTF-8 encoded data.
 
  The easiest fix for now would be to download the following file:
 
  http://svn.open-ils.org/trac/ILS/export/7934/branches/rel_1_2/Open-ILS/src/extras/org_tree_js.pl
 
 
  and save it in /openils/bin/ (assuming the default installation
  directory).  Then run autogen.sh again.

 /snip

 I downloaded the new script and re-run autogen.sh. It change nothing on
 the screen. See for yourself (click Choose a library to search)
 http://cobaye-ti.bib.uqam.ca/opac/en-US/skin/default/xml/index.xml
 You will see strange characters (???). In your browser, if you change the
 encoding ( UTF-8 to ISO8859-1) no more strange characters. That's why Pierre
 R. was saying it was encoded in ISO-8859-1, even if the Apache server is set
 to UTF-8 defaults.
 I verified in the javascipt files use for the OPAC and when I open (with
 nano) OrgTree.js, the strange characters are there, here's a screen
 capture http://www.bibliotheques.uqam.ca/flash_bugs/strange_characters.png.
 It seems that the even the js files are not generated with the UTF-8
 encoding... (or maybe it's nano that can't show them).

 Any ideas ?


One other thought (thanks to Mike for the suggestion) - can you run the
SHOW SERVER_ENCODING; command in psql to ensure that your database is set
up with UTF8 as the encoding?

For example:

psql -U postgres evergreen
# SHOW SERVER_ENCODING;
 server_encoding
-
 UTF8
(1 row)


-- 
Dan Scott
Laurentian University


Re: [OPEN-ILS-DEV] Organisational units

2007-10-26 Thread Bill Erickson

Mike Rylander wrote:

On 10/25/07, Roberge, Pierre [EMAIL PROTECTED] wrote:

[snip]



Finally, I noticed that the OPAC pages are delivered with an ISO 8859-1 
encoding. The pages are not explicitely referring to a character set.

Did someone experimented something like that?



Hrm... I'm not seeing that on any of the dev or demo server, the live
PINES site, or other installations; I'm only seeing UTF-8.  Bill, any
Apache spells that would affect the encoding?




I'm not sure about other OS's, but Debian creates 
/etc/apache2/conf.d/charset which has the default setting:


AddDefaultCharset UTF-8

-bill

--
Bill Erickson
| VP, Software Development  Integration
| Equinox Software, Inc. / The Evergreen Experts
| phone: 877-OPEN-ILS (673-6457)
| email: [EMAIL PROTECTED]
| web: http://esilibrary.com