gottagettawookiee / keynote-nf

Automatically exported from code.google.com/p/keynote-nf
0 stars 0 forks source link

Links with Hebrew characters don't work #437

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

Thanks for the nice software.
When I insert a link to a file, where the path contains Hebrew characters, the 
link is produced, with wrong encoding (displays giberish) and it doesn't work - 
i.e. when clicked there is the following message:
Error 2 executing hyperlink
C:\ ... \file.pdf:
"The specified file was not found."

When the path contains only English characters - it work OK.

I use:
Window 7 32bits
KeyNote NF 1.7.9 BETA 3

I attach two screenshots:
1. Error message when clicking link to file.
2. A similar problem with URL links which contain Hebrew

Thanks 

Yigal Eran

Original issue reported on code.google.com by yiga...@gmail.com on 15 Aug 2012 at 7:10

Attachments:

GoogleCodeExporter commented 9 years ago
Hello yigaler
Can you indicate precisely how do you create the hyperlinks? (They can be added 
in several ways in KeyNote)
I have done tests in XP and Windows 7 and I couldn't reproduce your problem. I 
included hebrew characters too.

In your second example it seems that you could create a correct hyperlink 
(first one)

Regards 

Original comment by dpra...@gmail.com on 15 Aug 2012 at 3:53

GoogleCodeExporter commented 9 years ago
Hi,

Thanks for your quick reply.

I have try to insert a file link, in three different ways - and got always the 
same result (i.e. giberish link):

1. Insert menu ===> Link to file... ===> then select the file from the dialog

2. File menu ===> Import...  ===> then select the file from the dialog

3. Create a working URL link (http) ===> when I click it, a small dialog 
windows popos up ===> I press Modify button ===> I copy the requested path from 
explorers window ===> then I paste the path into URL field (in the small poped 
up dialog window).

Attached screenshot of all three links.

Original comment by yiga...@gmail.com on 15 Aug 2012 at 9:29

Attachments:

GoogleCodeExporter commented 9 years ago
Hello
Could you include here, as text, some of that paths, so that I can try with 
that characters?
Also, what is the language configuration of your PC? And finally, could you 
attach your keynote.ini (config) file?

Original comment by dpra...@gmail.com on 16 Aug 2012 at 5:54

GoogleCodeExporter commented 9 years ago
Hi,
Here is the original path, which has some part (folder names) in Hebrew:
C:\UTIL\MOBILE\ANDROID\DOCUMENTATION\קורס פיתוח אפליקציות 
לאנדרואיד - HIT - חיים מיכאל\תוכנית לימודים

Language configuation is:

Default input language:  English (United States) - US (I've also switched to 
Hebrew, with same results)

Keyboards:  English (United States),  Hebrew (Israel), Sanskrit (India)

Region Settings:
Format: Hebrew (Israel)

Attached keynote.ini file.

Thanks for your persistence in try to solve the problem :-)

Original comment by yiga...@gmail.com on 16 Aug 2012 at 7:04

Attachments:

GoogleCodeExporter commented 9 years ago
Hello yigaler
Finally, in a virtual machine in Windows 7 I have set your language 
configuration and yes, I have reproduced your problem. Comparing the RTF text 
generated after link operation, with the RTF associated to the text outside the 
link I have seen that is a problem with the \lang tag of RTF. After including 
(directly in the .knt, for example with Notepad++) the text shows ok.

After investigating a little I have verified that if you make sure that your 
language (in KeyNote) is selected as Hebrew then you can create your hyperlink 
without problems. Please, try with this: select a text and then execute in 
Keynote
Format -> Language -> Hebrew. Move the cursor inside that text (to make sure 
the text will be interpreted in that language) and then insert your hyperlink. 
Note that if you insert a character (space, for example) then the language will 
be the one associated to the keyboard selected...

It seems that the problem arises when the text included in the hyperlink 
corresponds (o partially includes it) to the language configured in the sistem 
(as regional format) and it is inserted at a point where the language defined 
it is not the same. It is caused because that language information tag is 
missing when creating the hyperlink. On other operations there is no problem 
because the language tag is properly considered, as when you create or use a 
template, for example.

Well, I know now where is the problem, more or less (that is a big thing..), 
all that remains is to solve it :)

In the meantime you can select all the text of the node (even an empty node) 
and change it to hebrew.

Regards
Daniel

Original comment by dpra...@gmail.com on 16 Aug 2012 at 8:11

GoogleCodeExporter commented 9 years ago
Hi Daniel,

I tried changing the language of the node to Hebrew before I insert the link 
(both methods) and it work like a charm - perfect !!!
You are a genius :-)

Now I have a last question, that maybe is relate to the links subject:
In the Tools menu, there is an item: Activate URL.
When I press it, nothing happens (whether I select a text before pressing, or 
just put the cursor inside a text.
What is the purpose of it and how to use it ?

Original comment by yiga...@gmail.com on 16 Aug 2012 at 9:37

GoogleCodeExporter commented 9 years ago
Hi yigaler
That command, Activate URL, if executed when cursor is inside a URL text will 
open the modal form that let you open, copy or modify the link (However, I 
never used it)

Original comment by dpra...@gmail.com on 17 Aug 2012 at 5:27

GoogleCodeExporter commented 9 years ago
Hi Daniel,

It work, but as you wrote, there is no much use for it, since by clicking the 
URL, it is already opened (activated). In fact it is even difficult to place 
the cursor inside the URL without activating it immediately. I placed the 
cursor at the end and it still works.

However, there could be some use for it, if it did something different:
when you have a URL text which is not an active link (just simple text), it 
could help if one could make it a link by some command.
For example see the difference between wordpress.com and www.wordpress.com.

Anyway, many thanks for the excellent software (and support :-)

Original comment by yiga...@gmail.com on 17 Aug 2012 at 7:10

GoogleCodeExporter commented 9 years ago
Hello
Note that you open the ULR just clicking in it because you have configured it 
in such manner (See Tools->Configuration...->Actions -> URL actions)

Anyway, what you propose could be applied to the action Insert URL: instead of 
always beginning with empty fields they could be filled with the selected text, 
if any.

Thanks to you for using it ;)

Original comment by dpra...@gmail.com on 17 Aug 2012 at 3:06

GoogleCodeExporter commented 9 years ago
Fixed in revision 156

Original comment by dpra...@gmail.com on 17 Nov 2012 at 12:40

GoogleCodeExporter commented 9 years ago
I have just released a new version of KeyNote NF: 1.7.9 Beta 4

Could you verify and confirm if the issues are correctly resolved?
Thanks
Daniel

Original comment by dpra...@gmail.com on 7 Jan 2013 at 7:43