-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[69] Bug: Inconsist encoding to include a file with unicode filename
- Loading branch information
Showing
5 changed files
with
89 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<TeXmacs|2.1.2> | ||
|
||
<style|<tuple|generic|british>> | ||
|
||
<\body> | ||
<doc-data|<doc-title|Test doc to include a file with unicode filename>> | ||
|
||
<include|69_5_\<#4E2D\>\<#6587\>\<#540D\>.tm> | ||
|
||
\; | ||
</body> | ||
|
||
<\initial> | ||
<\collection> | ||
<associate|page-medium|paper> | ||
</collection> | ||
</initial> | ||
|
||
<\references> | ||
<\collection> | ||
<associate|part:69_5_中文名.tm|<tuple|?|1>> | ||
<associate|part:69_5_\<#4E2D\>\<#6587\>.tm|<tuple|?|?>> | ||
<associate|part:69_5_\<#4E2D\>\<#6587\>\<#540D\>.tm|<tuple|?|?>> | ||
</collection> | ||
</references> | ||
|
||
<\auxiliary> | ||
<\collection> | ||
<\associate|parts> | ||
<tuple|69_5_中文名.tm|chapter-nr|0|section-nr|0|subsection-nr|0> | ||
</associate> | ||
</collection> | ||
</auxiliary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<TeXmacs|2.1.2> | ||
|
||
<style|generic> | ||
|
||
<\body> | ||
This is a file to be included. | ||
</body> | ||
|
||
<\initial> | ||
<\collection> | ||
<associate|page-medium|paper> | ||
</collection> | ||
</initial> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<TeXmacs|2.1.2> | ||
|
||
<style|<tuple|tmdoc|british|devel>> | ||
|
||
<\body> | ||
<tmdoc-title|Inconsist encoding to include a file with unicode filename> | ||
|
||
<section|Bug Metadata> | ||
|
||
<\itemize> | ||
<item>Reporter: Darcy | ||
|
||
<item>Owner: Darcy | ||
|
||
<item>Tester: Darcy | ||
</itemize> | ||
|
||
<section|How to reproduce it> | ||
|
||
See <slink|../TeXmacs/tests/69_5.tm>. The filename to include contains | ||
Chinese, it should be in cork encoding like the normal Chinese text once | ||
included. When we change the filename in the focus toolbar, its encoding | ||
will be changed into cork encoding. But the inclusion failed to work. | ||
|
||
<tmdoc-copyright|2023|Darcy> | ||
|
||
<tmdoc-license|Permission is granted to copy, distribute and/or modify this | ||
document under the terms of the GNU Free Documentation License, Version 1.1 | ||
or any later version published by the Free Software Foundation; with no | ||
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover | ||
Texts. A copy of the license is included in the section entitled "GNU Free | ||
Documentation License".> | ||
</body> | ||
|
||
<\initial> | ||
<\collection> | ||
<associate|page-medium|papyrus> | ||
</collection> | ||
</initial> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters