[Cartoweb-users] iso-8859-2

Bruno Friedmann bruno at ioda-net.ch
Tue Jun 17 06:11:24 EDT 2008


Outch,
This tend to prove that we really need somewhat more recent (decent) pdf generator inside Cartoweb3
There also the non support of png-alpha which is quiet a pity.

Thanks for the advise.


wochter wrote:
> Hi,
> the problem is in using special czech and slovak (maybe other)
> characters with this plugin.
> (for example: ľščťžýáí鼊ȍŽÝÁÍÉ)
> I changed some e-mails witch Oliver and he confirm this problem.
> Plugin exportPdf uses fpdf and it doesn't support utf8 yet.
> Last version of fpdf is dated to v1.53 (2004-12-31).
> 
> Autor writes:
> (http://www.fpdf.org/)
> 
> 7. Accented characters are replaced by some strange characters like é.
> Don't use UTF-8 encoding. Standard FPDF fonts use ISO-8859-1 or
> Windows-1252. It is possible to perform a conversion to ISO-8859-1 with
> utf8_decode():
> 
> $str = utf8_decode($str);
> 
> But some characters such as Euro won't be translated correctly. If the
> iconv extension is available, the right way to do it is the following:
> 
> $str = iconv('UTF-8', 'windows-1252', $str);
> 
> I don't know exactly how exportPdf plugin works, but it doesn't works
> correctly for me.
> 
> Thanx for you favour.
> 
> 
> wochter
> 
> Bruno Friedmann  wrote / napísal(a):
>> Hi Wochter,
>> We use exportPdf, exportCSV and we don't see any error with them apart the fact that if you use excel with csv,
>> you need to import and not open the file. But this is a Excel error not a carto one.
>>
>> Could you tell me more about what type of trouble you get ? I would be happy to check if we get the same here.
>>
>> Thanks.
>>
>> WochteR wrote:
>>> Yes, it is the way.
>>> But still there are troubles with utf8 and exportPdf plugin.
>>>
>>> wochter
>>>
>>>> ------------ Pôvodná správa ------------
>>>> Od: Bruno Friedmann <bruno at ioda-net.ch>
>>>> Predmet: Re: [Cartoweb-users] iso-8859-2
>>>> Dátum: 15.6.2008 13:20:55
>>>> ----------------------------------------
>>>> Dzilberte Bekode wrote:
>>>>> Hi 
>>>>> I'm trying to implement Slovak language to my project.
>>>>> Thats mean to use  ISO-8859-2 series instead of ISO-8859-1.
>>>>> But change this is not enough.
>>>>> Have somebody already implemented  ISO-8859-2 series  ????
>>>>>
>>>>>  Thanks for suggestions.
>>>>>
>>>>>
>>>> My suggestion would be : if you can, why do not use UTF-8 instead.
>>>> You certainly get a more stable result and some kind of universality.
>>>>
>>>>
>>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users


-- 

     Bruno Friedmann

Ioda-Net Sàrl   - www.ioda-net.ch
  2830 Vellerat - Switzerland

  Tél : ++41 32 435 7171
  Fax : ++41 32 435 7172
  gsm : ++41 78 802 6760

C'est Facile et Cool d'Évoluer en ligne : www.cfcel.com




More information about the Cartoweb-users mailing list