Search found 5 matches

by konstb
16 Dec 2012, 22:20
Forum: Help
Topic: Attachments in unknown format
Replies: 2
Views: 2798

Re: Attachments in unknown format

YYESSSSS!!!!!
Thanks a lot !!! :idea:
by konstb
16 Dec 2012, 14:38
Forum: Help
Topic: Attachments in unknown format
Replies: 2
Views: 2798

Attachments in unknown format

Hello.
I have a problem with adding an attachment to an issue.
Actually, the file is added to issue without any problem, but when I download it back from Mantis - it contains garbage, or somehow packed - I do not know.
The problem exists with any file types: text or image.

Mantis 1.2.10 on Posgress ...
by konstb
16 Sep 2008, 11:19
Forum: Help
Topic: Graphviz installation
Replies: 7
Views: 7649

Re: Graphviz installation

Hello, following to your suggestion, I created two files:
img1.php
<?php
require_once( 'graphviz_api.php' );

$t_graph = new Digraph( );

$t_graph->set_default_node_attr( array (
'fontname' => 'Arial',
'fontsize' => 8,
'shape' => 'record',
'style' => 'filled',
'height' => '0.2',
'width' => '0.4 ...
by konstb
01 Feb 2008, 14:00
Forum: Help
Topic: Help with database conversion to UTF8
Replies: 5
Views: 8702

Re: Help with database conversion to UTF8

OK, thanks to Kirill, the solution is found.
1) Export the data:
mysqldump -uUser -pPassword --default-character-set=latin1 bugtracker > result.sql

2) Because I previously have used russian_utf8 encoding, the strings are already in utf8 and I need just minor correction:
SET NAMES latin1 -> change ...
by konstb
01 Feb 2008, 11:28
Forum: Help
Topic: Help with database conversion to UTF8
Replies: 5
Views: 8702

Help with database conversion to UTF8

Hello.
I'm upgrading from Mantis 1.0.7 to 1.1.1.
Previously I used russian_utf8 encoding for my installation, so my data already in UTF8, but if I access data from Mantis 1.1.1 (MySQL - 5.0.21, default-character-set=utf8), I see a garbage (like Хорошо бы перед) instead of correct ...