comparison NEWS @ 27537:7dc31256c5e4

Document that regexp* functions need UTF-8 encoded input (bug #35910). * regexp.cc (Fregexp, Fregexpi, Fregexpreg): Document that the input strings must be UTF-8 encoded. * NEWS: Announce support for UTF-8 encoded strings in regexp* functions.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 17 Oct 2019 20:41:03 +0200
parents 3912e3a74e31
children 7f1fbc0541bd
comparison
equal deleted inserted replaced
27536:d389416f0e50 27537:7dc31256c5e4
37 - New warnings have been added about questionable uses of the colon ':' 37 - New warnings have been added about questionable uses of the colon ':'
38 range operator. Each has a new warning ID so that it can be disabled 38 range operator. Each has a new warning ID so that it can be disabled
39 if desired. 39 if desired.
40 Octave:colon-complex-argument : when any arg is complex 40 Octave:colon-complex-argument : when any arg is complex
41 Octave:colon-nonscalar-argument : when any arg is non-scalar 41 Octave:colon-nonscalar-argument : when any arg is non-scalar
42
43 - The `regexp` and related functions now correctly handle and *require*
44 strings in UTF-8 encoding. As with any other function that requires
45 strings to be encoded in Octave's native encoding, you can use
46 "native2unicode" to convert from your preferred locale. For example,
47 the copyright symbol in UTF-8 is `native2unicode (169, "latin1")`.
42 48
43 #### Graphics backend 49 #### Graphics backend
44 50
45 - Graphic primitives now accept a color property value of `"none"` 51 - Graphic primitives now accept a color property value of `"none"`
46 which is useful when a particular primitive needs to be hidden 52 which is useful when a particular primitive needs to be hidden