Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Abrir archivo con caracteres especiales.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Adrian Ac  
View profile   Translate to Translated (View Original)
 More options Apr 17 2012, 9:23 am
From: Adrian Ac <adrian...@gmail.com>
Date: Tue, 17 Apr 2012 06:23:29 -0700 (PDT)
Local: Tues, Apr 17 2012 9:23 am
Subject: Abrir archivo con caracteres especiales.

Buenos días.

Tengo un problema al momento de abrir un archivo con acentos en el nombre.
el metodo que utilizo es el file();
aquí un ejemplo del archivo : Francais_V_defle_exo_04_04_(découpage_ok).srt.

el error: file(Francais_V_defle_exo_04_04_(découpage_ok).srt) [function.file<http://php.net/function.file>]:
failed to open stream: No such file or directory

ya me he asegurado que se encuentra en la carpeta y que no sea por el
UTF-8, pero aun así no consigo abrirlo.
ya he intentado con htmlentities(); pero me causa un error como este
: file(Francais_V_defle_exo_04_04_(d&Atilde;&copy;coupage_ok).srt) [
function.file <http://php.net/function.file>]: failed to open stream: No
such file or directory.

Cualquier idea seria bienvenido!! muchas gracias!!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carlos Campderrós  
View profile   Translate to Translated (View Original)
 More options Apr 17 2012, 10:25 am
From: Carlos Campderrós <gilipollas.desconcerta...@gmail.com>
Date: Tue, 17 Apr 2012 16:25:00 +0200
Subject: Re: Abrir archivo con caracteres especiales.

Hola,

On Tue, Apr 17, 2012 at 15:23, Adrian Ac <adrian...@gmail.com> wrote:
> Buenos días.

> Tengo un problema al momento de abrir un archivo con acentos en el nombre.
> el metodo que utilizo es el file();
> aquí un ejemplo del archivo
> : Francais_V_defle_exo_04_04_(découpage_ok).srt.

> el error: file(Francais_V_defle_exo_04_04_(découpage_ok).srt) [
> function.file <http://php.net/function.file>]: failed to open stream: No
> such file or directory

Por lo que se observa con el htmlentities, te está convirtiendo é a las
entidades é, por lo que el nombre de archivo te llega como utf8 pero el
nombr en el sistema de archivos no lo es. Prueba a hacerle un utf8_decode()
en vez del htmlentities()

--
Si no puedes deslumbrar con tu sabiduría,
desconcierta con tus gilipolleces


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jotus Lokus  
View profile   Translate to Translated (View Original)
 More options Apr 17 2012, 10:31 am
From: Jotus Lokus <jotonc...@gmail.com>
Date: Tue, 17 Apr 2012 16:31:10 +0200
Local: Tues, Apr 17 2012 10:31 am
Subject: Re: Abrir archivo con caracteres especiales.

Has probado con diferentes codificaciones en el nombre del archivo?
Depende de como tengas configurado tu sistema
Utf-8, iso,....

Existen funciones para realizar conversiones
Saludos

On Apr 17, 2012, at 15:23, Adrian Ac <adrian...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »