fn take_utf8_non_ascii(b: &[u8]) -> IResult<&[u8], &[u8]> {
    alt((
        verify(take(1u8), is_utf8_non_ascii),
        verify(take(2u8), is_utf8_non_ascii),
        verify(take(3u8), is_utf8_non_ascii),
        verify(take(4u8), is_utf8_non_ascii),
    ))(b)
}
/// Take a single non-ascii UTF-8 character from the slice
///
/// nom 5 lacks combinators to distinguish between ASCII and UTF-8 so we have to implement this
/// manually
///
///
/// [`UTF8-non-ascii`](https://tools.ietf.org/html/rfc3977#section-9.8)
Take a single non-ascii UTF-8 character from the slice
nom 5 lacks combinators to distinguish between ASCII and UTF-8 so we have to implement this
manually


Take a single non - ascii UTF - 8 character from the slice nom 5 lacks combinators to distinguish between ASCII and UTF - 8 so we have to implement this manually
fn take_utf8_non_ascii(b: &[u8]) -> IResult<&[u8], &[u8]> {
    alt((
        verify(take(1u8), is_utf8_non_ascii),
        verify(take(2u8), is_utf8_non_ascii),
        verify(take(3u8), is_utf8_non_ascii),
        verify(take(4u8), is_utf8_non_ascii),
    ))(b)
}
fn take_utf8_non_ascii ( b : & [ u8 ] ) -> IResult < & [ u8 ] , & [ u8 ] > { alt ( ( verify ( take ( 1u8 ) , is_utf8_non_ascii ) , verify ( take ( 2u8 ) , is_utf8_non_ascii ) , verify ( take ( 3u8 ) , is_utf8_non_ascii ) , verify ( take ( 4u8 ) , is_utf8_non_ascii ) , ) ) ( b ) }
Take a single non-ascii UTF-8 character from the slice
nom 5 lacks combinators to distinguish between ASCII and UTF-8 so we have to implement this
manually
Take a single non - ascii UTF - 8 character from the slice nom 5 lacks combinators to distinguish between ASCII and UTF - 8 so we have to implement this manually
b
&[u8]