positivesigner is my username at gmail.com. On Sunday, December 27, 2020 at 9:36:16 PM UTC-8 Thomas Stone wrote:
> I was unable to get my screenshots to submit with the post. Email me at > [email protected] if you want to send some screenshots back and forth. > > On Sunday, December 27, 2020 at 9:34:32 PM UTC-8 Thomas Stone wrote: > >> You said, "I don't know that attributes can be with Russian letters". I >> cannot see what you tried and what error you saw. >> >> When I open a Wiki file and create a new Tiddler, the Tiddler Editor says >> "Add a new field" at the bottom. I put in a field name of "цвет" and a >> field value of "цвет", and then click the "Add" button. This shows a dialog >> box complaining about the field name. Closing the dialog erases the field >> name and field value that I tried to enter. >> >> Is that the error that is stopping you from using Russian letters in >> attributes? This is a known issue in TiddlyWiki, as Jeremy replied earlier. >> >> You CAN use a ButtonWidget to call an Action that creates a Tiddler field >> with a Russian name. This attribute is saved in the Wiki file and can be >> seen again when you re-open the Wiki file. >> >> Please provide some screenshots of your issue if it is something >> different than this. >> >> >> >> >> >> >> >> On Saturday, December 26, 2020 at 3:16:31 AM UTC-8 Siniy-Kit wrote: >> >>> Positiv, thank you for experiment. I don't know that attributes can be >>> with Russian letters >>> <div created="20201226110548100" creator="HEEG.HTML free on-line store" >>> modified="20201226110634850" modifier="HEEG.HTML free on-line store" >>> title="проверка" цвет="красный"><pre></pre></div> >>> >>> I test it with space "цвет мой" unfortunately it don't work >>> >>> <div created="20201226110548100" creator="HEEG.HTML free on-line store" >>> modified="20201226111148894" modifier="HEEG.HTML free on-line store" >>> title="проверка" цвет="красный" цвет мой="красный"><pre></pre></div> >>> суббота, 26 декабря 2020 г. в 02:21:59 UTC+3, [email protected]: >>> >>>> FYI: I was able to verify the button provided by Xavier on the sample >>>> TW that Siniy-Kit provided. His link opens a specific Tiddler. I edited >>>> that tiddler and pasted in the below code. I was also able to verify Eric >>>> Shulman's comment that the field names are converted to lower case upon >>>> saving. >>>> >>>> The sample Tiddler already had two fields with a "parametr-" prefixed >>>> name. Those are shown in the "See already existing fields". His fields >>>> looked like this. >>>> >>>> Field: -parametr-%D1%86%D0%B2%D0%B5%D1%82- >>>> Field: -parametr-%D1%80%D0%B0%D0%B7%D0%BC%D0%B5%D1%80- >>>> >>>> The button provided by Xavier did set the value correctly. >>>> >>>> After saving the wiki and re-opening from my Downloads directory, I >>>> added the "#567567811" bookmark tag to the end of the address bar. This >>>> brought up the originally edited Tiddler. The field name set by the button >>>> provided by Xavier was persisted and still showed correctly. The original >>>> "paremetr-" prefixed fields had their hexadecimal values turned into >>>> lowercase. >>>> >>>> Field: -parametr-%d1%86%d0%b2%d0%b5%d1%82- >>>> Field: -parametr-%d1%80%d0%b0%d0%b7%d0%bc%d0%b5%d1%80- >>>> >>>> >>>> ``` >>>> !!Set field using button >>>> >>>> <$button> >>>> <$action-setfield $tiddler="проверка" $field="цвет" $value="красный"/> >>>> Пойдем</$button> >>>> >>>> <$list filter="[has[цвет]]"> >>>> <$text text={{{ [<currentTiddler>addprefix[The tiddler ]] }}}/> >>>> <$text text={{{ [<currentTiddler>get[цвет]addprefix[ has a field named >>>> цвет, with a value of ]] }}} />. >>>> </$list> >>>> >>>> !!See already existing fields >>>> <$list filter="[fields[]prefix[para]]">Field: -<<currentTiddler>>-<br> >>>> </$list> >>>> ``` >>>> >>>> On Wednesday, December 23, 2020 at 9:36:27 AM UTC-8 Eric Shulman wrote: >>>> >>>>> On Wednesday, December 23, 2020 at 9:09:20 AM UTC-8 Xavier wrote: >>>>> >>>>>> From my experience, naming fields with any Unicode (utf-8) names >>>>>> hasn't brought any issues, >>>>>> >>>>> >>>>> While $action-setfield allows you to create a field name using almost >>>>> any characters, the issue is whether the field name remains unchanged >>>>> after >>>>> saving and reloading the file. >>>>> >>>>> For example, I can use $action-setfield to create a tiddler field name >>>>> that uses mixed case (e.g., "SomeFieldName"), and that fieldname will >>>>> work >>>>> just fine in a filter during that session (e.g., "{{{ >>>>> [[SomeTiddler]get[SomeFieldName]] }}}"). >>>>> >>>>> However, after I save and reload the file, the fieldname will become >>>>> "somefieldname", and the filter then fails. >>>>> >>>>> -e >>>>> >>>> -- 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/b0e268b2-7bba-48dc-9754-f83287700ad2n%40googlegroups.com.

