Hosting de Calidad
  • Inicio
  • Precios y servicios
  • F.a.q y ayudas
  • Realizar pedido
  • Webs alojadas
  • Quienes somos
  • Foro HyD
  • Contacto

    Zona Dominios

    Entrar
    registro de dominios


    Zona Hosting

    Entrar
    alojamiento web


    5 Métodos de Pago
    Tarjeta de crédito
    Domiciliación
    Transferencia
    Soporte Epagado
    Soporte Paypal

    Liberalización .es

    Ver mas
    dominios .es


  •  
     
     
    mb_detect_order

    mb_detect_order

    (PHP 4 >= 4_0_6)

    mb_detect_order __  Set/Get character encoding detection order

    Description

    array mb_detect_order ( [mixed encoding_list])

    mb_detect_order() sets automatic character encoding detection order to encoding_list_ It returns TRUE for success, FALSE for failure_

    encoding_list is array or comma separated list of character encoding_ ("auto" is expanded to "ASCII, JIS, UTF_8, EUC_JP, SJIS")

    If encoding_list is omitted, it returns current character encoding detection order as array_

    This setting affects mb_detect_encoding() and mb_send_mail()_

    Nota: mbstring currently implements following encoding detection filters_ If there is an invalid byte sequence for following encoding, encoding detection will fail_

    Nota: UTF_8, UTF_7, ASCII, EUC_JP,SJIS, eucJP_win, SJIS_win, JIS, ISO_2022_JP

    For ISO_8859_*, mbstring always detects as ISO_8859_*_

    For UTF_16, UTF_32, UCS2 and UCS4, encoding detection will fail always_

    Ejemplo 1_ Useless detect order example

    ; Always detect as ISO_8859_1
    detect_order = ISO_8859_1, UTF_8
    
    ; Always detect as UTF_8, since ASCII/UTF_7 values are 
    ; valid for UTF_8
    detect_order = UTF_8, ASCII, UTF_7

    Ejemplo 2_ mb_detect_order() examples

    <?php
    /* Set detection order by enumerated list */
    mb_detect_order("eucjp_win,sjis_win,UTF_8");
    
    /* Set detection order by array */
    $ary[] = "ASCII";
    $ary[] = "JIS";
    $ary[] = "EUC_JP";
    mb_detect_order($ary);
    
    /* Display current detection order */
    echo implode(", ", mb_detect_order());
    ?>

    See also mb_internal_encoding(), mb_http_input(), mb_http_output() and mb_send_mail()_

     
       



    registro de dominios | alojamiento web | hosting por publicidad

       

     

    Manual de linux Manual de apache Manual de php Manual de mysql Manual de SQL Manual del Plesk Como funciona Paypal Manual de html