[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] double-byte language problem
****** message to minivend-users from jojo@buchonline.net ******
On 29 May, ecool wrote:
> ****** message to minivend-users from "ecool" <zhangmosong@hotmail.com> ******
>
> i've changed my products.txt into the simplest. as below:
> #----------------------products.txt-----------------------------------------------------------------start
> sku description title artist comment display image price category nontaxable weight size color related featured
> 00 mine product sunrise me haw-haw best sun.jpg 30000000 newone 800 0 0 0 01 OK
> 01 your product sunrise you haw-haw best sn2.jpg 40000000 newone 800 0 0 0 00 OK
> #----------------------products.txt-----------------------------------------------------------------end
>
> and everythig is OK when i use this file. but when i changed category column "newone" into "new.one", or Chinese double-byte character strings, the fault happened in results.html. MiniVend prefixed "new.one" as "new\.one", and prefixed every sigle byte of Chinese with '\' too. the problem is here! se(mv_searchspec) variable was processed and was not in original as user input or data-source.(prefixed every special char with '\'). So i wanna know how to settle it.
>
>
> and another problem here. <title>results: [value-extended mv_searchspec = joiner=" | "] </title> will get only "results:" in title, is it a bug of Minivend? or my misconfiguration?
I would use normal chars for any field name only.
--------------snip--------------
Character usage restrictions
To review, database identifiers, field names, and product codes (database keys) are restricted in the
characters they may use. A short table showing restrictions:
Legal characters
---------------------
Database identifiers A-Z a-z 0-9 _
Field names A-Z a-z 0-9 _
Database keys (product code/SKU) A-Z a-z 0-9 _ # - . /
Database values Any (subject to field/record delimiter)
Some SQL databases have reserved words which cannot be used as field names; MiniVend databases do not
have this restriction.
For easy HTML compatibility, is not recommended that you use a / in a part number if you wish to use the
flypage capability; you can still call it with [page href=flypage arg=``S/KU''] if you do happen to use i
--------------snip--------------
How about
<title>results: [value mv_searchspec] </title>
?
Regards,
Joachim
--
Hans-Joachim Leidinger
buch online jojo@buchonline.net
Munscheidstr. 14 FAX: +49 209 1671449
45886 Gelsenkirchen FAX: 0209 1671449
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list