18 |
sql => qq{ |
sql => qq{ |
19 |
select * from history_collection_view_cache |
select * from history_collection_view_cache |
20 |
}, |
}, |
21 |
|
db_encoding => 'iso-8859-2', |
22 |
debug => 0, |
debug => 0, |
23 |
}; |
}; |
24 |
|
|
58 |
|
|
59 |
if ($val) { |
if ($val) { |
60 |
# change encoding? |
# change encoding? |
61 |
from_to($val, 'ISO-8859-2', 'UTF-8'); |
from_to($val, ($c->{db_encoding} || 'ISO-8859-1'), 'UTF-8'); |
62 |
|
|
63 |
# add attributes (make column usable from attribute search) |
# add attributes (make column usable from attribute search) |
64 |
$doc->add_attr($col, $val); |
$doc->add_attr($col, $val); |