mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Coerce keyFileCustomPath to UTF-8
The text encoding (or even field type) can be practically anything, so we need to either handle everything or coerce to UTF-8. This is a quick fix for an issue with QuickCursor, a more thorough review of encoding used with AppleEvents is to follow.
This commit is contained in:
@@ -154,7 +154,7 @@ bool DidHandleODBEditorEvent (AppleEvent const* event)
|
||||
documents.back()->set_recent_tracking(false);
|
||||
|
||||
if(displayNames && i < displayNames->array_size())
|
||||
documents.back()->set_custom_name(displayNames->record_at_index(i)->data());
|
||||
documents.back()->set_custom_name(displayNames->record_at_index(i, typeUTF8Text)->data());
|
||||
|
||||
if(positions && i < positions->array_size())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user