Environment variable @inputPath and accented letters?

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Post Reply
DFH
Posts: 956
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Environment variable @inputPath and accented letters?

Post by DFH » Sun Apr 29, 2018 2:51 am

I found a strange problem with the Output filter when using the following as the Output path:

Code: Select all

@inputPath..\USFM
If part of the input path happens to include any non-ASCII letters (e.g. with an accent, as in the Spanish name Rubén ),
the output path is not properly implemented because these non-ASCII letters get garbled.

TextPipe created such a garbled path for the output files, and even also created an empty folder therein with the same name as the input folder.

This may be a Windows issue, but there's no warning about it in the relevant help page for TextPipe.

David

User avatar
DataMystic Support
Site Admin
Posts: 2222
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Environment variable @inputPath and accented letters?

Post by DataMystic Support » Tue May 01, 2018 8:01 pm

Thanks David - this is a TextPipe issue that we have fixed ready for 10.7
Regards,

Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads

DFH
Posts: 956
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Environment variable @inputPath and accented letters?

Post by DFH » Fri Jun 12, 2020 6:11 pm

Hi Simon,

TextPipe 11.6 still has an issue with other non-ASCII characters in the @inputPath.

Input filename KJV.diatheke.plus.psalm.titles.¶.txt
was changed to KJV.diatheke.plus.psalm.titles.�.ligatures.txt
where I had the Output Folder as @inputPath\Derived

Please review the fix and see if it can be further expanded to cope with any Unicode characters valid within the Windows file system.

Please also check that the advised fix in 10.7 wasn't inadvertently reverted or overlooked.

Best regards,

David

User avatar
DataMystic Support
Site Admin
Posts: 2222
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Environment variable @inputPath and accented letters?

Post by DataMystic Support » Sat Jun 13, 2020 7:29 am

Hi David,

I am not seeing this, can you please provide more details/test files via email?

Input file: C:\Aemail\المؤتمر الدولي العاشر ليونيكود\外销装箱明细3-15.txt
Output folder: @inputpath@\derived
Generated output file: C:\Aemail\المؤتمر الدولي العاشر ليونيكود\derived\外销装箱明细3-15.txt

Incidentally with footer text appended:
--date 20200613072627--
--input file[外销装箱明细3-15.txt]--
--full input file[C:\Aemail\المؤتمر الدولي العاشر ليونيكود\外销装箱明细3-15.txt]--
--input path[C:\Aemail\المؤتمر الدولي العاشر ليونيكود\]--
Regards,

Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads

DFH
Posts: 956
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Environment variable @inputPath and accented letters?

Post by DFH » Sat Jun 13, 2020 8:49 pm

Please try it with also the following:

Change extension to .ligatures@inputExtension

That's the trigger!

It's a feature that I use regularly!

I can readily email you stuff if this doesn't help determine root cause.

David

User avatar
DataMystic Support
Site Admin
Posts: 2222
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Environment variable @inputPath and accented letters?

Post by DataMystic Support » Tue Jun 16, 2020 11:45 am

Thanks - I can see the issue and we're working on a fix.
Regards,

Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads

Post Reply