- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: Maxime
Subject: Re: dataparksearch error when generating pdf documents.

Please download Swedish UTF-8 language maps:
http://dataparksearch.googlecode.com/files/sv.utf-8.lm
http://dataparksearch.googlecode.com/files/sv.utf-8.bible.lm
They will be available in the next snapshot though. The second one has been 
made on Bible in Swedish. You can load both of these maps, they will be merged 
on loading.

Then place these maps into /usr/local/dpsearch/etc/langmap direcory and add the 
following lines into your langmap.conf file:
LoadMapFile langmap/sv.utf-8.lm
LoadMapFile langmap/sv.utf-8.bible.lm

You can create your own language map using /usr/local/sbin/dpguesser utility. 
To do so, you have to create a sample file with text on desired language in 
specific charset, let this file have the name sample.txt:
/usr/local/dpguesser -p -l sv -c UTF-8 < sample.txt > sv.utf-8.lm
here -p switch specify special mode for dpguesser that creates language map
-l switch specify two-letter ISO code for a language
-c switch specify any character set supported by dpsearch

- - - - - - - - - - - - - - - - - - - - - - - - - - - -

Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=02;topic_id=1219916639

Ответить