TiddlyDesktop icon indicating copy to clipboard operation
TiddlyDesktop copied to clipboard

TiddlyDesktop LINKs (file:///): Can't open some URL formats?

Open OPeregrino1966 opened this issue 2 years ago • 2 comments

Hi Jeremy!

My name is Claudio. I live in Brazil. I have a thread open on the Talk TiddlyWiki forum (HELP Tiddlydesktop: Please, help me!) that is hard to find a solution. If you can help me, I would be very grateful.

SUBJECT: Links to Internal Files (via file:///) in Windows 10.

PROBLEM: I use TiddlyDesktop-win64-v0.0.15-prerelease.2 on Windows 10. I am not able to use accented URLs (à á ó í é ã õ, etc) in TIDDLYDESKTOP.

INITIAL QUESTION: Do I need to configure TiddlyDesktop for Brazilian Portuguese to make the links work? How do I do that?

EXAMPLE (Lines of code in TIDDLER):

  1. TESTE Claudio: [[WINDOWS|file:///C:\TEMP\Claudio.txt]]
  2. TESTE Cláudio: [[WINDOWS|file:///C:\TEMP\Cláudio.txt]]
  3. TESTE Cláudio: [[WINDOWS|file:///C:/TEMP/Cl%C3%A1udio.txt]] <= Suggested by TW_Tones
  4. TESTE Cláudio: [[WINDOWS|file:///C:///TEMP/Cl%C3%A1udio.txt]] <= Suggested by TW_Tones

RESULT: The second, third and fourth links do not open the file referenced in Tiddlydesktop. The first link opens the FILE in Windows Notepad in TIDDLYDESKTOP and opens the file .txt (displays the contents) when the .html file is opened in the Browsers (CHROME, EDGE and FIREFOX). Note: The only difference is the acute accent in my name.

IMPORTANT POINTS:

  1. If I open the Tiddlywiki (.html) file in CHROME, FIREFOX or EDGE Browser, all links will work, displaying the contents of the .txt file in the browser.
  2. On Tiddlydesktop, only the first one will work.

POSSIBILITIES:

  1. Is there any setting in TIDDLYDESKTOP’s Embedded Chromium Browser that needs to be done for it to recognize these characters?
  2. Is there any HTML instruction that can be included internally in the html file to correct this situation? In addition to this command:

meta http-equiv=“Content-Type” content=“text/html;charset=utf-8”

  1. Is there a specific downloadable version of TIDDLYDESKTOP that fixes this issue?

I hope it is possible to resolve the issue, as it will avoid having to modify all folders and files so that they do not have accented characters.

Thank you in advance for your and everyone's attention.

Cláudio Rieper

OPeregrino1966 avatar Mar 24 '22 13:03 OPeregrino1966

Hi @OPeregrino1966 t

The second, third and fourth links do not open the file referenced in Tiddlydesktop

Just to be clear, TiddlyDesktop is only intended to open TiddlyWiki HTML files. Other file types are passed to the default browser for opening.

The first link opens the FILE in Windows Notepad in TIDDLYDESKTOP

What do the other links do?

I would have expected the encoding suggested by TW_Tones to work properly. A quick test on macOS works OK, but it'll take me longer to try things on Windows.

Jermolene avatar Mar 26 '22 15:03 Jermolene

Hi @Jermolene!

Thaks for your return.

The first link or other links in the default browser, all display the contents of the .txt file in a browser tab. But in the TiddlyDesktop only the first link opens the .txt file in Windows notepad, the other links do not work (do nothing).

I have two threads open on Tiddlywiki Talk.

  1. HELP TiddlyDesktop: Please help me!
  2. TiddlyDesktop: Other Language.

You will get more details of the problem and the test that TW_Tones with me also reproduced on your Windows 11 which is in the HELP topic TiddlyDesktop: Please, help me!

In advance, thank you very much for your attention.

OPeregrino1966 avatar Mar 26 '22 17:03 OPeregrino1966