View Issue Details

IDProjectCategoryView StatusLast Update
0007439mantisbtbugtrackerpublic2008-08-12 09:18
Reporterseiji Assigned Tograngeway  
PrioritynormalSeveritymajorReproducibilityhave not tried
Status closedResolutionno change required 
OSgentoo linux 
Product Version1.1.0a1 
Summary0007439: url for Dokuwiki is invalid if charset is multibyte like EUC-JP
Description

When Mantis uses multibyte charset like 'EUC-JP' (for Japanese) in meta tag,
URL for Dokuwiki is invalid. So title in Dokuwiki page is confused like attached file. because Dokuwiki uses UTF-8 charset.

wiki_dokuwiki_api.php 26L

replace

return $t_root_url . 'doku.php?id=' . urlencode( $t_page_id );

with

return $t_root_url . 'doku.php?id=' . urlencode( iconv(lang_get( 'charset' ), 'UTF-8', $t_page_id) );

It goes well though I don't know whether it is better to use "lang_get( 'charset' )" and "iconv".

TagsNo tags attached.
Attached Files
dokuwiki.png (8,577 bytes)   
dokuwiki.png (8,577 bytes)   

Activities

vboctor

vboctor

2006-09-16 14:06

manager   ~0013401

We can't use iconv since it is not part of a standard PHP installation. I would be happy to include another fix that doesn't require added modules.

seiji

seiji

2006-09-16 21:00

reporter   ~0013403

I don't have other idea.
But it is possible to solve it by using UTF-8 language file.
Please close this issue.Thanks.

grangeway

grangeway

2008-07-28 15:38

reporter   ~0018833

Thank you for taking the time to report a problem with mantis.

Since this problem report was originally made, a number of releases have occured. Additionally no recent feedback has been received on this issue.
It appears that this issue has either been fixed, or may not be a relevant report for the current release.

Unfortunately you are not using the latest version and the problem might already be fixed. Please download the latest release from http://www.mantisbt.org/download.php [^] [^]

If you are able to reproduce this bug in the current release, or have some more information on how this feature could be improved in the current release. Please either change the mantis version on this bug report
to the version you tested and change the status back to "Open", or open a new issue report with more information.

Again, thank you for your continued support and report.