Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

BUG on Compiler "Other settings"

<< < (2/2)

nanyu:

--- Quote from: jens on November 28, 2009, 05:58:29 pm ---As far as I see only the spaces are a problem.

So this one might work:


--- Code: ---    wxString tmpFilename = m_BuildLogFilename;
    tmpFilename.Replace(_T(" "), wxT("%20"), true);

    #if wxCHECK_VERSION(2, 9, 0)
    Manager::Get()->GetLogManager()->Log(F(_T("file://%s"), tmpFilename.wx_str()), m_PageIndex, Logger::warning);
    #else
    Manager::Get()->GetLogManager()->Log(F(_T("file://%s"), tmpFilename.c_str()), m_PageIndex, Logger::warning);
    #endif

--- End code ---


--- End quote ---

Yesterday I did the same thing. It couldn't do right work. That is , if the link include some Chinese char, the underline will stop beforer the first Chinese char.  It look like:

file:://abcd/[HERE IS THE FIRST CHINESE CHAR]_log.html

Navigation

[0] Message Index

[*] Previous page

Go to full version