Commit 53564183 authored by Marian Durkovic's avatar Marian Durkovic

Add bunch of missing UTF8 conversions

parent e5507e8c
......@@ -119,7 +119,7 @@ BookmarkEditDialog::~BookmarkEditDialog()
void BookmarkEditDialog::OnOK( wxCommandEvent &event )
{
if( p_seekpoint->psz_name ) free( p_seekpoint->psz_name );
p_seekpoint->psz_name = strdup( name_text->GetValue().mb_str() );
p_seekpoint->psz_name = strdup( name_text->GetValue().mb_str(wxConvUTF8) );
p_seekpoint->i_byte_offset = atoi( bytes_text->GetValue().mb_str() );
p_seekpoint->i_time_offset = 1000000 *
atoll( time_text->GetValue().mb_str() ) ;
......
......@@ -935,9 +935,9 @@ void Playlist::OnSave( wxCommandEvent& WXUNUSED(event) )
if( dialog.ShowModal() == wxID_OK )
{
if( dialog.GetPath().mb_str() )
if( dialog.GetPath().mb_str(wxConvUTF8) )
{
playlist_Export( p_playlist, dialog.GetPath().mb_str(),
playlist_Export( p_playlist, dialog.GetPath().mb_str(wxConvUTF8),
formats[dialog.GetFilterIndex()].psz_module );
}
}
......@@ -951,7 +951,7 @@ void Playlist::OnOpen( wxCommandEvent& WXUNUSED(event) )
if( dialog.ShowModal() == wxID_OK )
{
playlist_Import( p_playlist, dialog.GetPath().mb_str() );
playlist_Import( p_playlist, dialog.GetPath().mb_str(wxConvUTF8) );
}
}
......
......@@ -217,7 +217,7 @@ void VLMPanel::OnLoad( wxCommandEvent &event )
p_file_dialog->SetTitle( wxU(_("Load Configuration") ) );
if( p_file_dialog->ShowModal() == wxID_OK )
{
vlm_Load( p_vlm->GetVLM(), p_file_dialog->GetPath().mb_str() );
vlm_Load( p_vlm->GetVLM(), p_file_dialog->GetPath().mb_str(wxConvUTF8));
}
Update();
}
......@@ -231,7 +231,7 @@ void VLMPanel::OnSave( wxCommandEvent &event )
p_file_dialog->SetTitle( wxU(_("Save Configuration") ) );
if( p_file_dialog->ShowModal() == wxID_OK )
{
vlm_Save( p_vlm->GetVLM(), p_file_dialog->GetPath().mb_str() );
vlm_Save( p_vlm->GetVLM(), p_file_dialog->GetPath().mb_str(wxConvUTF8));
}
}
......
......@@ -718,7 +718,7 @@ void wizInputPage::OnWizardPageChanging(wxWizardEvent& event)
}
else
{
p_parent->SetMrl( (const char *)mrl_text->GetValue().mb_str() );
p_parent->SetMrl( (const char *)mrl_text->GetValue().mb_str(wxConvUTF8) );
}
}
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment