Search found 34 matches: utf8tostr

Return to advanced search

Re: XML =. Utf-8, que codificación pongo para mariaDB?

Estoy trabajando con una maquina virtual en una MAC, que tiene instalado windows y en ese windows tengo instalado mariadb, no esta en la lista dicho utf8_unicode_ci. Lo mas parecido en la lista es uft8mb4_unicode_ci Asi y todo cuando. muestro la linea del xml en un GET no me muestra bien el texto, ...
by nageswaragunupudi
Mon Feb 19, 2024 1:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XML =. Utf-8, que codificación pongo para mariaDB?
Replies: 5
Views: 253

Re: Copy File Name

You may try:

? hb_utf8tostr( *******?.pdf ) // The name that you get
by Antonio Linares
Thu Jan 20, 2022 12:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Copy File Name
Replies: 21
Views: 1033

Re: Problemas con UTF8 en base de datos

hb_utf8tostr() não funciona?
by ORibeiro
Sun Aug 16, 2020 5:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con UTF8 en base de datos
Replies: 3
Views: 759

Re: Abrir un archivo CSV forzando en UTF-8

Olá João,

Obrigado por responder, no entanto, infelizmente a sua função não funcionou para trocar os acentos UTF8.

A função HB_UTF8TOSTR() também não funciona.

Não sei mais o que fazer para converter UTF8 em ASC para depois tirar os acentos.
by ORibeiro
Sun Aug 16, 2020 5:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Abrir un archivo CSV forzando en UTF-8
Replies: 8
Views: 1294

Re: Abrir un archivo CSV forzando en UTF-8

... de uma API. Nenhum desses tirou os acentos do nome: José João A. Gonçalves cStr := "José João A. Gonçalves" ? 'Directamente : ', cStr ? 'UTF8toSTR : ',hb_utf8tostr( cStr ) ? 'OEMtoANSI + UTF8toSTR: ',hb_oemtoansi( hb_utf8tostr( cStr ) ) ? 'ANSItoOEM + UTF8toSTR: ',hb_ansitooem( hb_utf8tostr( ...
by ORibeiro
Wed Aug 12, 2020 7:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Abrir un archivo CSV forzando en UTF-8
Replies: 8
Views: 1294

Re: Bug? cGetDir() on utf8

Natter wrote:you can try this

cDirTmp:=OemToAnsi(HB_UTF8ToStr(cGetDir()))


There are two problems!!
1. Title is showing garbled characters.
2. The initial directory is not expanded

Image
by ssbbs
Fri Apr 17, 2020 1:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug? cGetDir() on utf8
Replies: 9
Views: 1298

Re: Bug? cGetDir() on utf8

you can try this

cDirTmp:=OemToAnsi(HB_UTF8ToStr(cGetDir()))
by Natter
Thu Apr 16, 2020 5:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug? cGetDir() on utf8
Replies: 9
Views: 1298

Re: Problemas con ñ y tildes al guardar archivo texto

Carlos,
por los ejemplos que pusiste, has estado muy cerca :)

prueba usando
hb_strToUTF8( <cStr> [, <cFromCPID> ] ) ➜ cUTF8Str

Tu has usado utf8tostr y es justo lo contrario!

A ver si con eso funciona. Un saludo
by Carlos Mora
Wed Nov 07, 2018 9:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con ñ y tildes al guardar archivo texto
Replies: 8
Views: 1479

HB_UTF8ToStr

Hi, all ! With cGetFile() I choose the file with the Cyrillic alphabet. cGetFile returns the name of the file as UTF8. To get the name of the file in ANSI and I do OemToAnsi(HB_UTF8ToStr(file_name)). That is all right. But if there are "" symbols in the file name, they are replaced by comp...
by Natter
Sat Apr 07, 2018 6:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HB_UTF8ToStr
Replies: 0
Views: 505

Re: funciones de FWH y Harbour en un archivo .txt

__clsVerify(<nClassH>)-><acBrokenMessages>|Nil __objAddData(<oObject>,<cDataName>)->oObject __objAddInline(<oObject>,<cInlineName>,<bInline>)->oObject __objAddMethod(<oObject>,<cMethodName>,<nFuncPtr>)->oObject __objDelInline(&l...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5727

Re: funciones de FWH y Harbour en un archivo .txt

__clsVerify __objAddData __objAddInline __objAddMethod __objDelInline __objDelMethod __objDelMethod __objDerivedFrom __objGetMethodList __objGetValueList __objModInline __objModMethod __objSetValueList __Pack __Run __Zap AAdd Abs AChoice AClone ACopy ACos AddASCII AddMonth ADel ADir ADSBlob2File ADS...
by carlos vargas
Sat Oct 21, 2017 8:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5727

Re: Problema con los Acentos

Cristobal, muchas gracias.

hb_oemtoansi( hb_utf8tostr( cCadena ) )

Esto me funciono.
by VitalJavier
Sat Jan 14, 2017 10:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema con los Acentos
Replies: 2
Views: 1332

Re: Convertir TXT UTF-8 a ASCII (Problema con la Ñ)

Has intentado utilizar ?
HB_StrToUTF8( cStr )
HB_UTF8ToStr( cUtf8 )
by cnavarro
Wed Jul 20, 2016 9:45 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Convertir TXT UTF-8 a ASCII (Problema con la Ñ)
Replies: 5
Views: 1301

Re: Funcion UTF8ToStr()

ó

Code: Select all  Expand view

REQUEST HB_CODEPAGE_ESWIN
     
    cAnsi := "áéíóú"
    cUTF8 := HB_STRTOUTF8(cAnsi, "ESWIN")
     
    HB_MemoWrit ("ejemplo.txt", cUTF8)
 
by karinha
Wed Jun 03, 2015 2:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funcion UTF8ToStr()
Replies: 10
Views: 2053

Re: Funcion UTF8ToStr()

HB_TRANSLATE ( <cSrcText>, [<cPageFrom>], [<cPageTo>] ) --> cDstText /* is used usually to convert between the Dos and the Windows code pages of the same language */
by cnavarro
Wed Jun 03, 2015 1:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funcion UTF8ToStr()
Replies: 10
Views: 2053
Next

Return to advanced search