zsh-workers
 help / color / mirror / code / Atom feed
* mb_metacharlenconv vs. tokens
@ 2006-09-25 17:45 Andrey Borzenkov
  2006-09-26  9:20 ` Peter Stephenson
  0 siblings, 1 reply; 6+ messages in thread
From: Andrey Borzenkov @ 2006-09-25 17:45 UTC (permalink / raw)
  To: zsh-workers

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Apparently mb_metacharlenconv gets passed tokenized string (how is it called
properly in zsh lingua?) It means that the fact length(any-token-char) == 1
is actually side effect of mbrtowc failing miserably and mb_metacharlenconv
returning fallback 1 (at least using UTF-8).

Should not it untokenize character first? If yes, I will provide a fix as
 part of larger patch; if no, I fail to see how it works then.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFGBXYR6LMutpd94wRAlMPAJ4w7mogXE7p64XZx1KHUHuGyD/7PACghyjp
kuXmVIbSSxnkyt5BWTuz9zM=
=tyPN
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-09-27 16:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-25 17:45 mb_metacharlenconv vs. tokens Andrey Borzenkov
2006-09-26  9:20 ` Peter Stephenson
2006-09-26 18:03   ` Andrey Borzenkov
2006-09-26 18:10     ` Peter Stephenson
2006-09-27 16:31       ` Andrey Borzenkov
2006-09-27 16:51         ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).