← Back to team overview

zorba-coders team mailing list archive

[Bug 867124] Re: ZORBA_NO_UNICODE and fn:codepoints-to-string()

 

** Changed in: zorba
    Milestone: None => 2.7

** Changed in: zorba
     Assignee: Matthias Brantner (matthias-brantner) => Paul J. Lucas (paul-lucas)

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/867124

Title:
  ZORBA_NO_UNICODE and fn:codepoints-to-string()

Status in Zorba - The XQuery Processor:
  New

Bug description:
  When Zorba is compiled with ZORBA_NO_UNICODE=ON, the function fn
  :codepoints-to-string() defined in strings_impl.cpp won't compile
  because it makes reference to utf8::encode() that takes a
  unicode::code_point argument. When ZORBA_NO_UNICODE=ON, the unicode
  namespace is not declared, so of course code_point is not declared.

  The solution suggested on zorba-coders was to disable (not compile) fn
  :codepoints-to-string() -- and probably any other XQuery function that
  involves code-points.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867124/+subscriptions