- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Can you advise me please on ISO 10646 support? I need to supply this in some software I am writing, and it's not something I have done before.
As a test I have copied a routine fromMetcalf, Reid and Cohen's book (page 310). It's not complete, but I have tried to compile the following:
subroutine japanese_date_stamp(string)
integer, parameter:: ucs4 = selected_char_kind('ISO_10646')
character(*,ucs4),intent(out) :: string
integer :: val(8)
.........
This won't compile. I get the error message for line 3:
This is an incorrect value for a kind type parameter in this context.
Is there an issue with ISO 10646 support in Intel Fortran (2012)?
With thanks
Chris
- Etiquetas:
- Intel® Fortran Compiler
Enlace copiado
6 Respuestas
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Intel Fortran does not currently support character sets other than ISO/IEC 646:1991 (ASCII).
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Are there any plans for this at Intel?
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Not in the immediate future. We're investigating what needs to be done for other character sets. Multibyte character sets have a very broad impact across the product - it's not a trivial effort.
You can use integer arrays to hold such strings and use the provided "Multinational" support (MB_xxx routines) to manipulate them. We have customers doing this.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Yes, I can see that this is a very large effort. Thanks for your help.
Chris
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
I think I remember faintly that the C/C++ compiler supports multinational character strings. Or is the support for C/C++ provided by the mentioned MB-xxx routines?
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
No, the C/C++ support is independent.

Responder
Opciones de temas
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla