dompdf/dompdf — pull request #647 by zimmski (2013-05-22 15:08:03+00:00)
Title: save locale correctly

DOMPDF::save_locale is not correctly implemented as setlocale() only returns the current locale with a locale parameter of "0".

This only appears if you change the locale before loading/using dompdf so I have no idea how to include a test in "www/test/" but here is a simple php file to test it:

``` php

```

This should print "de_DE.UTF-8" three times but without my patch, it does not.

Hope you like it, cheers!

dompdf version: just forked
php version: 5.3.17