← Back to team overview

dhis2-devs team mailing list archive

Re: Troubles with Accents in DHIS2.10

 

Orvalho,

If you open the Help->About DHIS 2 page you can see the exact revision of
the 2.10 build there.

Note that you can always get the latest 2.10 build from our CI server here:
http://apps.dhis2.org/ci/job/dhis-web-2.10/

Latest changes to the 2.10 branch are listed here:
https://code.launchpad.net/~dhis2-devs-core/dhis2/2.10

You can also subscribe to email notifications for that release branch on
the link above.

Ola
-------

----------------------------------
Ola Hodne Titlestad (Mr)
HISP
Department of Informatics
University of Oslo

Mobile: +47 48069736
Home address: Eftasåsen 68, 0687 Oslo, Norway. Googlemaps
link<https://maps.google.com/maps?q=Eftas%C3%A5sen+68,+0687+Oslo,+Norge&hl=en&ie=UTF8&sll=59.893855,10.785116&sspn=0.222842,0.585709&oq=eftas%C3%A5sen+68,+0687+Oslo,+&t=h&hnear=Eftas%C3%A5sen+68,+%C3%98stensj%C3%B8,+0687+Oslo,+Norway&z=16>


On 24 December 2012 00:11, Orvalho Augusto <orvaquim@xxxxxxxxx> wrote:

> The war file on DHIS official site is dated Dec 4. Is that war file
> include accent corrections?
>
> It is because on dataset reports when I choose parent organization unit
> the numbers are not summed. So I am wondering if it is a bug already
> corrected.
>
> Thank you
> Caveman
>
> On Sat, Dec 1, 2012 at 7:13 PM, Orvalho Augusto <orvaquim@xxxxxxxxx>wrote:
>
>> Thank you!!
>>
>> Yes this new war file has some angelic actions.
>> Caveman
>>
>>
>> On Sat, Dec 1, 2012 at 5:29 PM, Morten Olav Hansen <mortenoh@xxxxxxxxx>wrote:
>>
>>> Hi
>>>
>>> Can you try with the updated war from:
>>> http://dhis2.org/download/releases/2.10/dhis.war
>>>
>>> There was some issues with this, but it should be fixed now (it was
>>> fixed a couple of days ago)
>>>
>>> --
>>> Morten
>>>
>>>
>>> On Sat, Dec 1, 2012 at 4:28 PM, Orvalho Augusto <orvaquim@xxxxxxxxx>wrote:
>>>
>>>> My organisationunits are not well stored. When I type a name with an
>>>> accent or cedil DHIS stores on database something else. Example:
>>>> The province "Província de Cabo Delgado" (there is an acute accent on
>>>> the first I) is stored like "Província de Cabo Delgado" on the database
>>>> and it is shown with this evil name. And check on the logs I see that bad
>>>> name again.
>>>>
>>>> So I have changed mannually on the database to correct it. Then DHIS
>>>> renders it on the form correctly.
>>>>
>>>> To make sure that everything is UTF-8 I made these changes:
>>>>
>>>> 1. Set LANG bash environment variable to LANG="en_US.UTF-8"
>>>>
>>>> 2. Modify JAVA_OPTS to include  -Dsun.jnu.encoding=UTF-8
>>>> -Dfile.encoding=UTF-8
>>>>
>>>> 3. Check dhis2 database:
>>>> postgres=# \l
>>>>                                   List of databases
>>>>    Name    |  Owner   | Encoding |  Collation  |    Ctype    |   Access
>>>> privileges
>>>>
>>>> -----------+----------+----------+-------------+-------------+-----------------------
>>>>  dhis2     | dhis     | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =Tc/dhis
>>>>
>>>>
>>>> 4. On my browser (Firefox and Chrome) I see UTF-8 as the charset on
>>>> webapp.
>>>>
>>>> So what is my mistake? This never happened before.
>>>>
>>>> Thank you
>>>> Caveman
>>>>
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

References