What Unicode characters can be rendered in the Command Window?
Ahora está siguiendo esta pregunta
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
Se ha producido un error
No se puede completar la acción debido a los cambios realizados en la página. Vuelva a cargar la página para ver el estado actualizado.
0 votos
Comparte un enlace a esta pregunta
Respuesta aceptada
1 voto
Comparte un enlace a esta respuesta
15 comentarios
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario

String scalar or character vector must have valid interpreter syntax:
𝟙
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario

String scalar or character vector must have valid interpreter syntax:
𝟙
Comparte un enlace a este comentario
Comparte un enlace a este comentario
- the documentation needs to be updated to make it clear that CHAR is limited to 16 bits** and that any larger character code requires special magic incantations. Perhaps a warning would help too, rather than just silently mapping larger values to 65535.
- or the character type is updated so that it works as younger users expect (whether fixed bytes or a "marginal index" is irrelevant to me, the user).
Comparte un enlace a este comentario
- apparently Unicode does not even use all 32 bits of UTF-32, only 21 bits per character is required to cover all characters. Perhaps three bytes could be used, which is not a big step up from the two bytes currently used. Benefit: fixed, constant everything, linear access. Cost: 50% increase in memory (which given modern computer memory would anyone even notice this? Who uses 25 GiBi char arrays?)
- store the stride in the array header (e.g. 2 bits), then store the char array using either 8/16/32 bits per character depending on the array content. This would require checking the content (slow) and some kind of process similar to the existing floating point write-on-real-to-complex to copy the array when "larger" characters are written to an existing array. Benefit: minimal memory for any one array (could also decrease memory as most(?) text uses the basic latin). Cost: checking array content.
Comparte un enlace a este comentario
Más respuestas (0)
Categorías
Más información sobre Data Type Conversion en Centro de ayuda y File Exchange.
Etiquetas
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
