Hi  Jeremy. Thank you for answer. Many people don't know  about html 
attributes and so on. And it looks strange for them, when they get this 
alert,
* Illegal characters in field name "цвет". Fields can only contain 
lowercase letters, digits and the characters underscore (_), hyphen (-) and 
period (.)*

I think it will be better to create this  "wrong" field in tiddler, BUT  
with encodeURI field name in html code.
AND in tiddler edit interface nearby this "wrong"  fieldname will be small 
button [!?]  with small $reveal 

*your field name contains Illegal characters. Rename it, or  use it's 
encoded variant  name in filters  %D1%86%D0%B2%D0%B5%D1%82*

I think   it will make tiddlywiki more friendly for all users. 

среда, 23 декабря 2020 г. в 16:01:49 UTC+3, [email protected]: 

> Hi Siniy-Kit
>
> As you’ve discovered, field names currently only work reliably and 
> consistently if are composed of the a-z, 0-9, dash and underscore. It is 
> not trivial to fix because of the way that the code expects to be able to 
> roundtrip fieldnames into attribute names. I think it would require an 
> update to the TiddlyWiki HTML file format.
>
> Best wishes
>
> Jeremy
>
> On 23 Dec 2020, at 08:01, Siniy-Kit <[email protected]> wrote:
>
> little demo for my question 
> here  
> https://heeg.ru/shop2_2.html?id=16gDZVsB8FOIxrsFKbkbBNWC37lPUAfKOGf-rCVxeOmY#567567811
>   
> <https://heeg.ru/shop2_2.html?id=16gDZVsB8FOIxrsFKbkbBNWC37lPUAfKOGf-rCVxeOmY#567567811>
> if you edit tiddler you can see  this
>
> <?????? ? ????? 202 0-12-23 105802.png>
>
> it will be nice to use this field in filters whithout  +[decodeuri[]]  
>
> среда, 23 декабря 2020 г. в 10:09:44 UTC+3, Siniy-Kit: 
>
>> Many years ago I try to make new field "цвет" with value "красный" but it 
>> was impossible, because  all tiddlers  are saved in this format
>>
>>
>> <div caption="tm-remove-field" created="20140908185153663" 
>> modified="20140908185153663" tags="Messages" title="WidgetMessage: 
>> tm-remove-field" type="text/vnd.tiddlywiki">
>>
>> <pre>The `tm-remove-field` message is handled by the FieldManglerWidget. 
>> It removes the specified field......
>> </pre>
>> </div>
>>
>>  So our *fields are  html attributes*, so they can't   contain Russian 
>> letters :(
>>
>> BUT we can use js encodeURIComponent("цвет") and put it as attribute to 
>> make it work.
>> Why this mechanism is still not working in Tiddlywiki?
>>
>>
>>  
>>
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/a4836968-3efd-4fba-897f-fe91deb6e345n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/a4836968-3efd-4fba-897f-fe91deb6e345n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> <?????? ? ????? 202 0-12-23 105802.png>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b06f9291-69b1-4ba0-8bf9-e8f4155b0978n%40googlegroups.com.

Reply via email to