[OPEN-ILS-DEV] Organisational units
Bill Erickson
erickson at esilibrary.com
Thu Nov 1 12:57:08 EDT 2007
Pierre Nault 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
> <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 ?
Pierre,
Would you mind trying this version of org_tree_js.pl and letting us know
how it goes?
http://dev.gapines.org/~erickson/tmp/org_tree_js.pl
Thanks,
-bill
--
Bill Erickson
| VP, Software Development & Integration
| Equinox Software, Inc. / The Evergreen Experts
| phone: 877-OPEN-ILS (673-6457)
| email: erickson at esilibrary.com
| web: http://esilibrary.com
More information about the Open-ils-dev
mailing list