diff --git a/Export/HugoExporter.cs b/Export/HugoExporter.cs index 42ad6be3..65f659d7 100644 --- a/Export/HugoExporter.cs +++ b/Export/HugoExporter.cs @@ -45,7 +45,7 @@ internal class HugoExporter : CodeExporter }; protected override IEnumerable ReservedWords => new[] {"Room", "Actor", "Thing", "Object", "Door", "Chair", "Heavy", "Fixture", "OpenableContainer", "Food", "GameMainDef", "if", "else", "me"}; - protected override Encoding Encoding => Encoding.ASCII; +// protected override Encoding Encoding => Encoding.ASCII; protected override void ExportHeader(TextWriter writer, string title, string author, string description, string history) { diff --git a/Export/Inform6Exporter.cs b/Export/Inform6Exporter.cs index 5df4af97..283b0878 100644 --- a/Export/Inform6Exporter.cs +++ b/Export/Inform6Exporter.cs @@ -46,7 +46,7 @@ internal class Inform6Exporter : CodeExporter protected override IEnumerable ReservedWords => new[] {"Constant", "Story", "Headline", "Include", "Object", "with", "has", "hasnt", "not", "and", "or", "n_to", "s_to", "e_to", "w_to", "nw_to", "ne_to", "sw_to", "se_to", "u_to", "d_to", "in_to", "out_to", "before", "after", "if", "else", "print", "player", "location", "description"}; - protected override Encoding Encoding => Encoding.ASCII; +// protected override Encoding Encoding => Encoding.ASCII; protected override void ExportHeader(TextWriter writer, string title, string author, string description, string history) { diff --git a/Export/TadsExporter.cs b/Export/TadsExporter.cs index 2cc20a80..c5859079 100644 --- a/Export/TadsExporter.cs +++ b/Export/TadsExporter.cs @@ -46,7 +46,7 @@ internal class TadsExporter : CodeExporter }; protected override IEnumerable ReservedWords => new[] {"Room", "Actor", "Thing", "Object", "Door", "Chair", "Heavy", "Fixture", "OpenableContainer", "Food", "GameMainDef", "if", "else", "me"}; - protected override Encoding Encoding => Encoding.ASCII; +// protected override Encoding Encoding => Encoding.ASCII; protected override void ExportHeader(TextWriter writer, string title, string author, string description, string history) { diff --git a/Revisions.txt b/Revisions.txt index e7a1a002..d0ebb5cc 100644 --- a/Revisions.txt +++ b/Revisions.txt @@ -4,6 +4,8 @@ Change Log ------------- - if the default hand drawn option was not checked in the appsettings, then you could never make a room with hand drawn edges. This should be corrected. - Hugo support for exporting Doors...thanks to Andrew Schultz and Hugo Labrande +- Accented characters where not being exported properly to Hugo, I6 and TADS (#330 & #329 - Thanks to Hugo Labrande for the report). +- Tooltip issue when opening a new map when one was already loaded (#327) 1.5.9.7 ------------- diff --git a/UI/Controls/Canvas.cs b/UI/Controls/Canvas.cs index 70f25bcc..62154dc0 100644 --- a/UI/Controls/Canvas.cs +++ b/UI/Controls/Canvas.cs @@ -2835,6 +2835,7 @@ private void reset() mNewRoomObjectsPosition = CompassPoint.South; requestRecomputeSmartSegments(); StopAutomapping(); + roomTooltip.SetSuperTooltip(this,null); } public void CopySelectedElements() @@ -3550,5 +3551,6 @@ public void RemoveRoom(Room mOtherRoom) { Project.Current.Elements.Remove(mOtherRoom); } + } } \ No newline at end of file