I checked the file encoding that was in utf-8 and i altered it to utf-8 
without BOM and it worked.

I was using SAFbuilder an external application to generate metadatas and 
bitstreams in large scale to import directly to dspace. But specific in 
files with whitespaces it was returning the file contents in ANSI encoding. 
So i altered the SAFbuilder to save the file contents in utf-8 and  solved 
the problem. :D



Adding item from directory item_17
        Loading dublin core from 
/dspace5/imports\SimpleArchiveFormat.zip/SimpleArchiveFormat\item_17\dublin_core.xml
        Schema: dc Element: type Qualifier:  Value: PDF
        Schema: dc Element: title Qualifier:  Value: test
        Schema: dc Element: date Qualifier:  Value: Thu Mar 01 15:59:22 BRT 
2018
        Processing contents file: 
\dspace5\imports\SimpleArchiveFormat.zip\SimpleArchiveFormat\item_17\contents
        Bitstream: CAPA_Bacharelado PNAP_Gest?o Redes_Coop_Esf_Publ.pdf
Processing handle file: handle
It appears there is no handle file -- generating one




Em segunda-feira, 19 de março de 2018 11:21:50 UTC-3, Brendow Adriel 
escreveu:
>
> DSpace: 5.6v
> S.O: Windows 10
>
> JAVA_OPTS: 
> -Xms2048m -Xmx8192m 
> -XX:-UseGCOverheadLimit 
> -Dfile.encoding=UTF-8
>
>
> *I'm trying to import a directory or zip file and both this results same 
> output.*
>
> *The application can not find file names with whitespaces and especial 
> characters in spanish and portuguese.*
>
> *I Tryied change encoding cmd to UTF-8, but without sucess.*
>
> *Somebody with this same problem in Windows?*
>
>
> dspace import -a -e [email protected] -s 
> C:\Users\brendows\Desktop\SAFBuilder\src\material\PNAP\Bacharelado\Eletivas\SimpleArchiveFormat
>  
> -mapDimportation
>
> Using DSpace installation in: C:\dspace5
> No collections given. Assuming 'collections' file inside item directory
>
> Adding items from directory: 
> C:\Users\brendows\Desktop\SAFBuilder\src\material\PNAP\Bacharelado\Eletivas\SimpleArchiveFormat
>
> Generating mapfile: apaDimportacap
> Processing collections file: collections
>
> Adding item from directory item_1
>         Loading dublin core from 
> C:\Users\brendows\Desktop\SAFBuilder\src\material\PNAP\Bacharelado\Eletivas\SimpleArchiveFormat\item_1\dublin_core.xml
>         Schema: dc Element: type Qualifier:  Value: PDF
>         Schema: dc Element: subject Qualifier:  Value: 32153197
>         Schema: dc Element: date Qualifier:  Value: Thu Mar 01 15:59:22 
> BRT 2018
>         Schema: dc Element: title Qualifier:  Value: CAPA - Bacharelado 
> PNAP - Gestão Redes Coop Esf Publ.pdf
>
>         Processing contents file: 
> C:\Users\brendows\Desktop\SAFBuilder\src\material\PNAP\Bacharelado\Eletivas\SimpleArchiveFormat\item_1\contents
> *java.io.FileNotFoundException: 
> C:\Users\brendows\Desktop\SAFBuilder\src\material\PNAP\Bacharelado\Eletivas\SimpleArchiveFormat\item_1\CAPA
>  
> - Bacharelado PNAP - Gest?o Redes Coop Esf Publ.pdf (O sistema não pode 
> encontrar o arquivo especificado)*
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to